阅读背景:

如何在网址中使用HTML验证并获取没有电子邮件和密码的ajax响应

来源:互联网 

I have a login form that collects the user's e-mail and password. I send that through AJAX to be validated on the server side. AJAX sends back a response to indicate whether the login succeeded or that the user needs to register first or that the login failed and the user has x number of attempts left before the system will block their login attempts for a period of time. I am successful in this including the prevention of the e-mail and password showing up in the browser's URL address line. I believe I succeeded in this by using e.preventDefault() in the jQuery script that processes the click of the submit button.I have a login form that collects the user's e-




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: