JSFiddle - React, Tailwind, and code Playground
by jackdent
HTML
<input type="submit">
JavaScript
$('input:submit').click(function () {
$(this).attr('disabled', true);
});
by jackdent
<input type="submit">
$('input:submit').click(function () {
$(this).attr('disabled', true);
});