The validform.js plug-in check() method is used here
I think it’s you who didn’t prevent the default submission of the form , so even though you wrote ajax处理方式,但是先触发的是form的提交。在按钮click的时候先禁用表单默认提交,event.preventDefault() try it
ajax
form
click
event.preventDefault()
I think it’s you who didn’t prevent the default submission of the form , so even though you wrote
ajax
处理方式,但是先触发的是form
的提交。在按钮click
的时候先禁用表单默认提交,event.preventDefault()
try it