JSFiddle - React, Tailwind, and code Playground

by hiteshbhilai2010

HTML

<input value="press" type="button" onclick="test()">
 <script>
alert ("Home");
</script>

JavaScript

$(document).ready(function(){
    
     function test()
    {
     alert("Test1");
     window.location.reload(true);
    }

})