Response to: Change asp textbox mode to password
Revision 1
Hi,
You can use like the following:
<asp:TextBox ID="txtPassword" runat="server" Width="200px" onblur="ChangeMode()" ></asp:TextBox>
ChangeMode()
{
<pre>document.getElementById("txtPassword").attr('TextMode', 'Password');
}
Thanks
Posted 25-Jan-13 3:38am
by
sisir patro.