Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的项目中,当页面加载时,我看到文本框充满了旧条目。有没有办法阻止它?我希望用户自己填写。
我尝试使用autocomplete='off'但没有用。我能做些什么来阻止它?
autocomplete='off'
这是我的html代码,
<asp:TextBox ID="txt_email_change" runat="server" CssClass="blue_input lower_case" Width="240px" autocomplete="off"></asp:TextBox>
您使用的是 HTML4 还是 HTML5?
HTML5 支持autocomplete="off"
autocomplete="off"