Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Monday, April 4, 2011
How to turn off autocomplete for a textbox in ASP.Net
By html attribute:
<
asp
:
TextBox
runat
="server"
ID
="Textbox"
autocomplete
="off"/>
By JQuery:
$(
"#
<%
=
Textbox.ClientID
%>
"
).attr(
"autocomplete"
,
"off"
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment