sample 1:普通情况,即默认情况,autocomplete时打开的。见:ie5-工具-内容-自动完成选项。
<form>
<input type = text name = email>
</form>
sample 2:有时候我们并不需要autocomplete,例如需要用户自己再次输入而非自动完成。只要将所在表单元素的autocomplete属性设置为off即可。
<form>
<input type = text name = text autocomplete = "off">
</form>
sample 3:那么,如果所有表单元素都不想使用autocomplete功能呢?见下面的方法:
<form autocomplete = "off">
<input type="text" name="textfield">
</form>
