今天遇到的一个浏览器会记录密码缓存的问题

//浏览器对密码框的记忆缓存 是识别 <input type="password">即看到输入框且类型为密码输入框,则在此框中加入

已缓存的密码,同时将上一个它检测到的<input>框,认定为账号框,这样大部分时候对用户来说方便的设定,却让开发

受到一定影响,如下解决方案:

1.转载自:http://www.jb51.net/article/35878.htm

<input type="text" name="password" onfocus="this.type='password'" /> 

   


猜你喜欢

转载自blog.csdn.net/sinat_33472635/article/details/79653353