JSFiddle - React, Tailwind, and code Playground

by Hüseyin BABAL

HTML

<html>
<head>


<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
 <script>

  function button_onClick() {
   $('#a').click();
  }
  function a_onClick() {
   alert('Birazdan yeni tab de açılacak');
  }
 </script>

</head>
<body>
 <input type="button" onclick="button_onClick()">
 <br />
 <a id='a' href='http://www.google.com' onClick="a_onClick()" target="blank"> aaa </a>

</body>
</html> 
</body>
</html>