JSFiddle - React, Tailwind, and code Playground
HTML
<input type='submit' id='something' value='accept me'/>
JavaScript
$( document ).ready(function() {
$("#something").click(function(){
alert("hi");
//doesnt work
});
});
<input type='submit' id='something' value='accept me'/>
$( document ).ready(function() {
$("#something").click(function(){
alert("hi");
//doesnt work
});
});