Form not submitting inside $.ajax success function

前端 未结 11 1706
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 20:34

I\'m validating for duplicate names by using jquery+Ajax. Everything is working fine except that the form is not submitting once everything returns true

What

11条回答
  •  醉酒成梦
    2021-01-18 21:18

    Doing remote form validation? Checkout the jquery.validate plugin and its .remote() rule.

    Other than that your code looks fine. Here's a working demo: http://jsfiddle.net/dKUSb/7/

提交回复
热议问题