设计一个登录表单,这样IE会记住登录数据 [英] Design a login form so IE will remember login data

查看:127
本文介绍了设计一个登录表单,这样IE会记住登录数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发的公司网站需要使用表单进行登录。

My company website, which I develop, requires a login using a form.

Firefox正确要求并记住登录信息,但IE6,IE7的测试实例的确如此不记得用户名或密码,IE8会提供以前使用的用户名下拉菜单,但不会记住密码。

Firefox correctly asks for and remembers login details, but test instances of IE6, IE7 do not remember either the username or password, and IE8 will give a dropdown of usernames previously used, but will not remember the password.


  • 什么是它关于我的密码表单的设计允许或阻止IE提示?

  • 我可以更改我的页面设计吗,这样IE会记住用户名/密码表单数据(假设用户的偏好设置正确)?

  • 是否有一些神奇的HTML标签,名称或样式我应该使用?
  • What is it about the design of my password form that allows or prevents IE from prompting?
  • Can I alter the design of my page so IE will remember username/password form data (assuming the user has their preferences set correctly)?
  • Is there some magic HTML tag, name, or style I should be using?

推荐答案

您可能会尝试查看DOM存储以在客户端永久存储用户名/密码。它需要JavaScript,但不适用于旧版IE。

You might try looking into DOM storage to store username/password persistently on the client side. It'll require JavaScript though and won't work in older versions of IE.

这篇关于设计一个登录表单,这样IE会记住登录数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆