JSFiddle - React, Tailwind, and code Playground
HTML
<input value="Click me" type="button" />
JavaScript
jQuery('input').click(function(){
alert('I am clicked');
});
<input value="Click me" type="button" />
jQuery('input').click(function(){
alert('I am clicked');
});