Form submit button not working in Google Chrome (jQuery Validate)

后端 未结 2 1099
北荒
北荒 2021-01-17 02:16

I\'m using the jQuery Validate plugin on my demo page and for some reason the Submit button doesn\'t work in Google Chrome. I suspect it has to do with the Autofill feature

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-17 02:43

    
    

    With this line you have overridden the form's "submit" function and replaced it with a button.

    form.submit = this button. Not an event handler.

    Fix: name the button something else.

提交回复
热议问题