|
|
|
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.
|
|
| Unobtrusive javascript for maintaining scrollable layer state Categories : DHTML, Java Script, HTML | | | How to keep your tables width stable even if you have long strings inside. Categories : CSS, Web Browsers, HTML, Beginner Guides | | | Javascript animated menu items Categories : DHTML, CSS, Java Script, HTML | | | A simple class with some HTML output functions that would come in handy for consistent page layout etc. Categories : PHP, PHP Classes, HTML and PHP, HTML, Navigation | | | Parses HTTP_USER_AGENT so that you can customize your site to different browsers Categories : HTML, PHP, Complete Programs | | | How to use META REFRESH to auto refresh an html page
after x seconds. Categories : HTML | | | FormWizard reads a mysql table and generates automatically
a html formular in a html-table Categories : PHP, MySQL, HTML | | | Allows you to parse a deliniated string and put the individual fields in a SELECT option in a form Categories : HTML, PHP, Strings | | | Clock at Status Bar Categories : Java Script, HTML, Date Time | | | Browser Detecor Class Categories : PHP Classes, PHP, HTML | | | Java Script Based Navigation Categories : HTML, Java Script, Navigation | | | BBCode Formatting String Categories : PHP, HTML, Regexps, Arrays | | | Enchancing dd/mm/yyyy forms with unobtrusive javascript Categories : Java Script, HTML, User Interface, Date Time | | | Display Slashdot headers on your own site Categories : HTML and PHP, HTML, PHP | | | webcam cam view image ispy browser independant Categories : Graphics, HTML, HTML and PHP, PHP | |
|
|
|