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

Disable the 'remember password' feature of browser

AMT India
P: 64
How can I disable the password remembering feature of Browser (Both IE and Firefox) using JS ?
Oct 5 '07 #1
Share this Question
Share on Google+
5 Replies


100+
P: 210
How can I disable the password remembering feature of Browser (Both IE and Firefox) using JS ?
You can't. The settings in a user's browser are their concern, not yours.
Oct 5 '07 #2

pbmods
Expert 5K+
P: 5,821
Heya, AMT.

You can try adding autocomplete="off" to your inputs:
Expand|Select|Wrap|Line Numbers
  1. <input ... autocomplete="off" />
  2.  
Alternatively, add this code somewhere on your page:
Expand|Select|Wrap|Line Numbers
  1. document.getElementById('usernameOrWhatever').setAttribute( 'autocomplete', 'off' );
  2.  
Oct 5 '07 #3

AMT India
P: 64
How can we disable the 'remember password' feature of browser (IE and Firefox) using JS?
Oct 9 '07 #4

acoder
Expert Mod 15k+
P: 16,027
Threads merged. Please do not double post.
Oct 9 '07 #5

AMT India
P: 64
Thank you...it works
Oct 9 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.