有谁知道如何禁用自动完成?
解决方法 禁用自动完成功能的正确方法是这样的:<input type="text" name="foo" autocomplete="off"/>
要么
<form autocomplete="off" ... >
MSDN:autocomplete Property
Mozilla:How to Turn Off Form Autocompletion
总结Applicable browser versions: netscape
6.2 (Mozilla 0.9.4) or later. IE 5 or later. …This form attribute is not part of any web standards but was first introduced in Microsoft’s Internet Explorer 5. netscape introduced it in version 6.2 — in prior versions,this attribute is ignored. The autocomplete attribute was added at the insistance of banks and card issuers — but never followed through on to reach standards certification.
以上是内存溢出为你收集整理的html – 我可以禁止浏览器自动填充吗?全部内容,希望文章能够帮你解决html – 我可以禁止浏览器自动填充吗?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)