Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Disable IE/Firefox remember password ?

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

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)

About the Author

thatraja
Web Developer
India India
Programmer | CodeProject MVP, Mentor | Author | Geek | Blogger | Bachelor | Dude
 
About him & his blog? check out here. Currently he's updating the site, he'll return soon there with more things*.
 
In Codeproject, he posted a blogpost & more than couple of Tip/Tricks, hope he'll write more soon.
 
Favorite techs are MVC, WCF, Mobile, HTML5, CSS3, jQuery, etc.,
 
His hobbies are watching movies, CP, being alone, etc., But now he's working on something*.
 
* - SCAMP???
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
GeneralGood one! PinmemberSunasara Imdadhusen6-Apr-11 23:33 
GeneralReason for my vote of 5 The original solution is good, but t... PinmemberDrABELL30-Mar-11 5:56 
GeneralRe: Hmmm no the first solution is for every application, html i... PinmemberRemi BOURGAREL4-Apr-11 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web03 | 2.8.140415.2 | Last Updated 30 Mar 2011
Article Copyright 2011 by thatraja
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid