JSFiddle - React, Tailwind, and code Playground

by Waseem Ishaq

HTML

<a href="http://www.google.com" id="info">Information</a>

JavaScript

$("#info").on("click",function(){
   var url = $(this).attr('href');
    $(location).attr('href',url);
    
  });
  $("#info").trigger("click");