JSFiddle - React, Tailwind, and code Playground
HTML
<p>Bind Method Example</p>
<button>Click to see message</button>
JavaScript
$(document).ready(function(){
$("button").bind("click", function(){
alert("Hello");
});
});
<p>Bind Method Example</p>
<button>Click to see message</button>
$(document).ready(function(){
$("button").bind("click", function(){
alert("Hello");
});
});