I have the following HTML and jquery:
Test disabling submit button fo
I put this in my global code to work on all submit buttons:
$("input[type='submit']").on("click", function (e) { $(this).attr("disabled", true); $(this).closest("form").submit() });