我必须禁用浏览器提示来记住登录表单上的密码,我已经尝试过 AUTOCOMPLETE="OFF"但它不起作用
最佳答案
您能分享一下您的代码吗?特别是那个密码标签。
我也遇到过同样的问题。但这已通过以下代码修复。
@Html.TextBoxFor(m => m.Password, new { @id ="Password", @Placeholder = "Password", @type = "Password", @required = "required", @Value = "", @autocomplete = "off" })
关于javascript - 如何禁用浏览器提示记住密码的功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26113364/