Answers for "Prevent Multiple Form Submissions With JQuery"

1

Prevent Multiple Form Submissions With JQuery

$('#formID').submit(function(){

  // Disable the submit button      
  $('#submitID').attr('disabled', true);

  // Change the "Submit" text
  $('#submitID').prop('value', 'Please wait...');
  
  return true;
       
});
Posted by: Guest on May-16-2020

Code answers related to "Prevent Multiple Form Submissions With JQuery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language