Prevent Duplicate Form Submissions (jQuery)


Use the jQuery script below. Make sure you put the script after the closing <form> tag.

<script>
jQuery(function() {
$("form").submit(function() {
$(this).submit(function() {
return false;
});
return true;
});
});
jQuery('form').submit(function(){
$(this).find(':submit').attr( 'disabled','disabled' );
});
</script>

Leave a comment

Please note, comments must be approved before they are published

Our Guarantee

Share your guarantees with your customers.

Our Guarantee

Share your guarantees with your customers.

Our Guarantee

Share your guarantees with your customers.

Our Guarantee

Share your guarantees with your customers.