Jump to content

Turnoff Autocomplete for IE Site Visitors?


tsoltysiak

Recommended Posts

Hi,

I was wondering is it possible to turn off auto-complete for visitors to my site that use Internet Explorer?  I have a search-box that filters the results on my site as they're typing, which works well in Firefox and Safari, but in IE the autocomplete box from IE covers up the results being displayed, so they can't be seen or clicked.  Is this possible?  And if so, how would I do it?  I tried to find it on Google, but found info on how to turn it on in my own browser, not for people visiting the one page.

Thanks,

Tom

Link to comment
Share on other sites

If you only want it to be turned off for IE, then you can try this:

 

<input type="text" autocomplete="off"<![endif]--> name="name" />

 

Though I've never used a conditional comment in the middle of a tag, so I don't know for sure that it will work. If it doesn't, you may have to turn off autocomplete for all browsers, not just IE.

Link to comment
Share on other sites

Thanks for the help.  I actually didn't know that other browsers have autocomplete, as I don't have it on Firefox or Safari (I guess that's why I'm considered an html newbie:-).  I'm assuming if people do use it with other browsers, the same problem would occur, so I just turned it off for all.

Thanks,

Tom

Link to comment
Share on other sites

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.