Stop text field "remembered values pulldown menu"

S

Simon Wigzell

Is it possible within javascript to stop the little pulldown menu (with the
values that the browser remembers have previously been entered into the
field) from appearing? I have one very dense form where the pulldown menu
appears on top of the push button that causes an action when the field
content is changed. It is unnescessary and causes an extra click in a very
click intensive form. Can it be turned off for the entire page as well? That
would be even better. In this particular form only numeric values are bing
entered and this feature is only ever a hindrance, never a help. Thanks
 
K

kaeli

Is it possible within javascript to stop the little pulldown menu (with the
values that the browser remembers have previously been entered into the
field) from appearing?

No, I don't think so.
That's the browser doing that.
You can turn it off in the browser settings somewhere for some browsers.

--
 
G

Grant Wagner

Simon said:
Is it possible within javascript to stop the little pulldown menu (with the
values that the browser remembers have previously been entered into the
field) from appearing? I have one very dense form where the pulldown menu
appears on top of the push button that causes an action when the field
content is changed. It is unnescessary and causes an extra click in a very
click intensive form. Can it be turned off for the entire page as well? That
would be even better. In this particular form only numeric values are bing
entered and this feature is only ever a hindrance, never a help. Thanks

Well, you can probably do it via Javascript, however you can disable it using a
non-standard HTML attribute:

AUTOCOMPLETE="off"

<url: http://msdn.microsoft.com/workshop/author/forms/autocomplete_ovr.asp />

The good news is it appears to work in Firefox 0.9 (and probably other
Gecko-based browsers). You'll have to test other browsers to determine if it's
supported there as well.

--
| Grant Wagner <[email protected]>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-developer/upgrade_2.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top