form-disabler.js 231 B

1234567891011
  1. $(document).ready(
  2. function () {
  3. $('form[action]').each(function () {
  4. $(this).submit(function (e) {
  5. this.submit();
  6. $(this).children().prop("disabled", true);
  7. return false;
  8. })
  9. });
  10. });