search

Home  >  Q&A  >  body text

javascript - Does the form submit information using POST or does it appear in the address bar?

The validform.js plug-in check() method is used here

仅有的幸福仅有的幸福2871 days ago803

reply all(1)I'll reply

  • 为情所困

    为情所困2017-05-19 10:44:12

    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

    reply
    0
  • Cancelreply