If you want to do some validation logic before the form is submitted, you can do the following:
1 | $("#testform").submit(function(){ |
If you say return true, it will submit form. If false, stop form submission.
Hope it helps
If you want to do some validation logic before the form is submitted, you can do the following:
1 | $("#testform").submit(function(){ |
If you say return true, it will submit form. If false, stop form submission.
Hope it helps