Can JQuery.Validate plugin prevent submission of an Ajax form

后端 未结 7 1796
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 15:00

I am using the JQuery form plugin (http://malsup.com/jquery/form/) to handle the ajax submission of a form. I also have JQuery.Validate (http://docs.jquery.com/Plugins/Validatio

7条回答
  •  心在旅途
    2021-02-02 15:30

    Also make sure all of your input fields have a "name" attribute as well as an "id" attribute. I noticed the jquery validation plugin doesn't function correctly without these.

提交回复
热议问题