Click here to Skip to main content
12,244,041 members (50,044 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

8.2K views
2 bookmarked
Posted

Disable IE/Firefox remember password ?

, 30 Mar 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
DescriptionW...

Description

We can turn off autocomplete for textbox by Javascript too.

Code

document.getElementById('txtPassword').setAttribute('autocomplete','off');

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

thatraja
Web Developer
India India
Retired from Q/A section & Technical forums since 2014

More coming soon....

You may also be interested in...

Comments and Discussions

 
GeneralUseful Tip Pin
karthy Udhaykumar22-May-14 7:55
memberkarthy Udhaykumar22-May-14 7:55 
GeneralGood one! Pin
Sunasara Imdadhusen7-Apr-11 0:33
memberSunasara Imdadhusen7-Apr-11 0:33 
GeneralReason for my vote of 5 The original solution is good, but t... Pin
DrABELL30-Mar-11 6:56
memberDrABELL30-Mar-11 6:56 
GeneralRe: Hmmm no the first solution is for every application, html i... Pin
Remi BOURGAREL4-Apr-11 22:24
memberRemi BOURGAREL4-Apr-11 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 30 Mar 2011
Article Copyright 2011 by thatraja
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid