why doesn't chrome recognize this login form?

前端 未结 2 1607
南方客
南方客 2020-12-19 03:34

I\'m using the following login form in my web app. It works fine in IE7, FF3.6 and Chrome7.0. Except for the fact that Chrome does not seem to recognize this form as a login

相关标签:
2条回答
  • 2020-12-19 03:41

    You have to submit form twice:

    1. one with JS validation
    2. and after that plain POST form.

    Here is the solution

    0 讨论(0)
  • 2020-12-19 03:58

    I believe it is because the form is not actually being "submitted". If you check the onsubmit attribute, you can see that it returns false at the end, which cancels the submission.

    0 讨论(0)
提交回复
热议问题