在asp.net中禁用firefox记住密码窗口
我想在firefox中登录,但没有提示不能保存用户名和密码的记住密码。 我使用了autocomplete=off,但在firefox中不工作在asp.net中禁用firefox记住密码窗口,asp.net,firefox,Asp.net,Firefox,我想在firefox中登录,但没有提示不能保存用户名和密码的记住密码。 我使用了autocomplete=off,但在firefox中不工作 <form autocomplete="off"> <input id="username" type="text" runat="server" autocomplete="off"/> <input id="pass" type="password" runat="server" autocomplete="off"/
<form autocomplete="off">
<input id="username" type="text" runat="server" autocomplete="off"/>
<input id="pass" type="password" runat="server" autocomplete="off"/>
请帮帮我:你可以做另一件事-
<script type="text/javascript">
$(function(){
setTimeout(function(){
$("input#passfld").attr("type","password");
},10);
});
</script>
您应该以这种方式使用autocomplete=off。您在表单标签中尝试过这种方法吗?