Turn off autocomplete for textbox in ASP.Net using jQuery

jQuery code to turn off autocomplete for ASP.NET textbox.

  $("#<%=Textbox.ClientID %>").attr("autocomplete", "off");

But there is no need to use jQuery for this as this can be done easily just by setting attribute for ASP.NET textbox.

<asp:TextBox runat="server" ID="Textbox" autocomplete="off"/>

But jQuery can be useful, if there are many ASP.NET textboxes then jQuery can be useful. Instead of setting attribute for every textbox can take time but using jQuery you can turn off using jQuery.

Feel free to contact me for any help related to jQuery, I will gladly help you.

Responsive Menu
Add more content here...