By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,584 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,584 IT Pros & Developers. It's quick & easy.

How to turn off the AutoComplete using meta tags

P: n/a
I was wondering if there is some other way to turn autocomplete off
besides using "autocomplete=off", using a meta tag or something
similar. It would be great if there is some way to turn it off at a
page level.

Any ideas/thought would be greatly appreciated.

Thanks in advance,
Zac
Ivan Peters wrote:
Put AUTOCOMPLETE="OFF" into the INPUT tag to turn it off for a particular field.

<ju****@my-deja.com> wrote in message

news:7q**********@nnrp1.deja.com...
We are developing an intranet application, our front-end uses IE5, but the client doesn't like IE5's AutoComplete ability for remembering
password, they want to turn it off. Other than going to the browser's option, is there any other way to turn it off?


Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ivo
Zac posts
Ivan Peters wrote
Put AUTOCOMPLETE="OFF" into the INPUT tag to turn it off for
a particular field.

I was wondering if there is some other way to turn autocomplete off
besides using "autocomplete=off", using a meta tag or something
similar. It would be great if there is some way to turn it off at a
page level.
Any ideas/thought would be greatly appreciated.


Don't know about meta tags. This relies on javascript being avavilable,
just put it in a script tag after the last element that matters:
var a = document.getElementsByTagName('*'), i = a.length;
while( i-- ) { a[i].autoComplete='off'; }
--
Ivo
http://4umi.com/


Jul 23 '05 #2

P: n/a


sc*******@aol.com wrote:
I was wondering if there is some other way to turn autocomplete off
besides using "autocomplete=off", using a meta tag or something
similar. It would be great if there is some way to turn it off at a
page level.


You can disable it for the complete form:
<form autocomplete="off" ...>
see
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/forms/autocomplete_ovr.asp>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.