When my form doesn't validate, I want to disable the form's submit function.
I can do this by disabling the submit button, but this would leave the enter key unchecked.
I can set the .submit(return false); but then I can't re-enable it again later.
Any suggestions?
以上就是Disable/enable entire form's submit with jquery的详细内容,更多请关注web前端其它相关文章!