Turn off autocomplete for textbox in ASP.Net using jQuery

jQuery code to turn off autocomplete for ASP.NET textbox.
$(document).ready(function(){
  $("#<%=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.
SHARE

Nothing shocks me, I'm a Software Engineer. And I am not young enough to know everything. I live in World Wide Web and from there take care of this website. This website communicates about my work, learning and experience. I believe life is short, and it is for loving, sharing, learning and connecting. So lets connect..