关于AutoComplete(取消文本框的自动填充)
作者:jit 日期:2008-10-16
A.如需要用户自己再次输入而非自动完成。只要将所在表单元素的autocomplete属性设置为off即可。
<form>
<input type="text" name="name" autocomplete="off">
<input type="password" name="password" autocomplete="off">
</form>
B.如果所有表单元素都不想使用autocomplete功能呢?见下面的方法:
<form autocomplete="off">
<input type="text" name="name" >
<input type="password" name="password" >
</form>
<form>
<input type="text" name="name" autocomplete="off">
<input type="password" name="password" autocomplete="off">
</form>
B.如果所有表单元素都不想使用autocomplete功能呢?见下面的方法:
<form autocomplete="off">
<input type="text" name="name" >
<input type="password" name="password" >
</form>
评论: 0 | 引用: 0 | 查看次数: -
发表评论