Jump to content

How to disable the drop down autocopmplete box in text boxes


garry27

Recommended Posts

The browser sandbox security model prevents browser content affecting user settings as far as I know.

 

That doesn't seem to be the case on the uk ebay site. In fact there's actually an option that allows you to turn off their pop up. Theres got to be be a workaround somewhere?!?

He might be talking about something similar to google suggest.

 

However, I don't know how they make it so that form inputs are saved (that would do the same thing as the google suggest would do with dropdown list..)

Basically, what  I want to do is have a ajax-based autocomplete functionality show only records that I specify using my own code. I have a drop down list which accomplishes this but the browser default menu hovers over this menu which is exactly what I don't want. There must be some way around this.

 

If you look at http://www.nationalexpress.com/, which is the "defacto" train/coach booking website for the UK, you will find that it uses a drop down list which utilizes Ajax and is not based on the history settings in the browser.

Looking at the code there, which YOU could have done just as easily:

 

<input type="text" ... autocomplete="off"/>

 

Looking up that attribute, it says: "use, but don't rely on" for various tutorial places, as it is not official.

 

edit: also: google:

http://chrisholland.blogspot.com/2004/11/banks-protect-privacy-disable.html

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.