Jump to content

How to disable the drop down autocopmplete box in text boxes


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.