开发者

Prevent Password Textbox from Being Preloaded

I have a form with an input type="password" and it gets consistently preloaded with my stored/saved password 开发者_如何学编程in Firefox.

It there any way to set the input field to not preload the password?


You could try using the autocomplete="off" attribute which is proprietary to IE ans is not XHTML compliant. And checkout the following blog post for enforcing it in FireFox which basically uses a timer to clear the value after the page loads.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜