jQuery doesn't submit a form

前端 未结 4 1739
借酒劲吻你
借酒劲吻你 2020-12-06 01:02

I have the following HTML code:





        
4条回答
  •  醉酒成梦
    2020-12-06 01:51

    yes when you have input elements with the name "submit" you will find the $('#formID').submit() to not to behave as it is expected. Just replace the input field name (may be the submit button) to something more relevant.

    I know this post is old one, just had the same problem for me and thought I should post my findings.

提交回复
热议问题