JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<body>
<form id='myForm'>
<input id='myDisabledButton' type=button disabled=disabled value="Hello">
<input id='myEnabledButton' type=button value="Hello">
</form>
</body>
</html>
JavaScript
$('#myForm').delegate('#myDisabledButton', 'click', function() {
alert('Button pressed!');
});
$('#myForm').delegate('#myEnabledButton', 'click', function() {
alert('Button pressed!');
});