0

I am experiencing something very strange. When a form is submitted, I am disabling the submit button with the following code:

$(btn).addClass('sbmt_disable').attr('disabled', 'disabled');

However, the effect it creates is it appears to just reload the page, and the fields are empty. Is it not possible to submit a form, if the submit button is disabled then? If so, what is the alternative? The desired action is to prevent users from clicking on the form more than once.

Source
  • 1,026
  • 4
  • 11
  • 23

0 Answers0