Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / ASP.NET

Disable IE/Firefox remember password ?

5.00/5 (5 votes)
30 Mar 2011CPOL 18.7K  
DescriptionW...

Description


We can turn off autocomplete for textbox by Javascript too.

Code


JavaScript
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)