<asp:TextBox ID="txtPassword" runat="server" Width="200px" onblur="ChangeMode()" ></asp:TextBox>
ChangeMode() { document.getElementById("txtPassword").attr('TextMode', 'Password'); }
textbox1.Attributes.Add("onblur", "this.type='password';");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)