我有一个禁用自动填充的表单,但它不起作用,并使在火狐浏览器和更高版本的谷歌浏览器中启用了自动填充
<form method="post" autocomplete="off" action="">
<ul class="field-set">
<li>
<label>Username:</label>
<input type="text" name="acct" id="username" maxlength="100" size="20">
</li>
<li>
<label>Password:</label>
<input type="password" name="pswd" id="password" maxlength="16" size="20" >
</li>
<li>
<input type="submit" class="button" value="Login" id="Login" name="Login">
</li>
</ul>
</form>
当将类型从密码更改为文本时,它在所有浏览器中都可以使用。有人能帮忙解决这个问题吗?