tsoltysiak Posted February 8, 2010 Share Posted February 8, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/191309-turnoff-autocomplete-for-ie-site-visitors/ Share on other sites More sharing options...
haku Posted February 8, 2010 Share Posted February 8, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/191309-turnoff-autocomplete-for-ie-site-visitors/#findComment-1008676 Share on other sites More sharing options...
tsoltysiak Posted February 8, 2010 Author Share Posted February 8, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/191309-turnoff-autocomplete-for-ie-site-visitors/#findComment-1008683 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.