Implementing AutoComplete is easy, but there may be times when either the user or
the Web author does not want to use this feature. The AUTOCOMPLETE attribute allows
Web authors to selectively disable the AutoComplete feature for a single INPUT
type=text element or all INPUT type=text elements in a particular form. For example,
by providing a value of off, a particular field or the entire form can be disabled.
If a Web author does not want users to see the AutoComplete feature for a password
field, the AUTOCOMPLETE attribute can be used to disable the feature for that single
field, as in the following example:
<INPUT TYPE = password NAME = oPassword AUTOCOMPLETE = "off">
In addition, if a Web author does not want users to see the AutoComplete feature for
any field in a form, the AUTOCOMPLETE attribute can be used to disable the feature
for the entire form.
<FORM AUTOCOMPLETE = "off">
:
</FORM>
You can enable AutoComplete by setting the value of the autocomplete property to an
empty string.
To determine when a user updates the content of a field from the AutoComplete dialog
box, use the onpropertychange event, rather than the onchange event, because the
onchange event does not fire.