How to pause form submit, for 1 last validation, at the very end and after that release/trigger/continue the submission?

前端 未结 1 1016
囚心锁ツ
囚心锁ツ 2020-12-22 08:35

I have a page1.php and i have a fly.php. page1.php is a simple (regular) form page, where people put info, when user submit the form.

  • via ajax it loads the ca
相关标签:
1条回答
  • 2020-12-22 08:46

    The simplest way would be to make the "submit" button not actually a <input type='submit'> button, but rather just a standard button. If validation passes, you can manually submit the forum using $('form').submit() or something similar.

    0 讨论(0)
提交回复
热议问题