JSFiddle - React, Tailwind, and code Playground

by gmcalab

HTML

<input type='button' id='test' value='test'/>

JavaScript

$('#test').click(function(){
   
   
   
    window.open('http://www.google.com', '_self'); 
    
});