467,105 Members | 1,018 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,105 developers. It's quick & easy.

How to turn off the AutoComplete using meta tags

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
  • viewed: 8627
Share:
2 Replies
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


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.

Similar topics

1 post views Thread by Cezary | last post: by
1 post views Thread by Darren Blackley | last post: by
24 posts views Thread by Day Bird Loft | last post: by
4 posts views Thread by Robert Strickland | last post: by
reply views Thread by venu | last post: by
8 posts views Thread by nil | last post: by
4 posts views Thread by King Coffee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.