这个功能是谷歌浏览器自带的,但的确很烦人
参考博文:
阻止浏览器记住密码功能干扰表单填充
http://m.blog.csdn.net/article/details?id=43795643
只试了其中的一,二种是有效的
一,把input type=”password” 改成 input type=”text” 并在后面加上 οnfοcus=”this.type=’password'”(IE7无效)
二,window.load = function(){
document.getElementById('密码域ID').value='';
};