日期:2009-07-03  浏览次数:20886 次

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>