JSFiddle - React, Tailwind, and code Playground
by holden321
HTML
<form id="cForm" action="#">
<input type="submit"/>
</form>
JavaScript
sendContactEmail="input";
$(function() {
$(sendContactEmail).click(function() {
var that = this;
that.disabled = true;
setTimeout(function(){
that.disabled=false;
},1000);
postinResp();
$("#cForm").submit();
});
});
function postinResp(){}