Arif YILMAZ
Arif YILMAZ

Reputation: 5866

asp.net disable textbox to auto fill on pageload

In my project, when a page loads, I see that the textbox is filled with old entries. Is there a way to stop that? I want the users to fill it themselves.

I tried to use autocomplete='off' but it didnt work. What can I do to stop that?

Here is my html code,

<asp:TextBox ID="txt_email_change" runat="server" CssClass="blue_input lower_case" Width="240px" autocomplete="off"></asp:TextBox>

Upvotes: 0

Views: 994

Answers (1)

mmpatel009
mmpatel009

Reputation: 941

Are you use HTML4 or HTML5?

HTML5 Support autocomplete="off"

Upvotes: 3

Related Questions