Ama*_*ava 11 html google-chrome autocomplete
有没有办法在chrome 66中的文本字段上禁用自动完成功能?我尝试了很多选项,例如:
谁能帮我这个?
另外,如果用户名下面有密码类型字段,Chrome会自动为用户名启用自动填充功能吗?
小智 1
我使用了这段代码,它对我有用。希望对您也有帮助。:) 使用只读输入您的类型,然后输入下面的代码。
<input readonly type="email" onfocus="if (this.hasAttribute('readonly')) {
this.removeAttribute('readonly');
this.blur(); this.focus(); }" />
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4889 次 |
最近记录: |