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