TextMode="Password" 添加默认字符

<asp:TextBox ID="User_Password" runat="server" TextMode="Password" CssClass="Myinput" MaxLength="16" onfocus="if(value=='......') {value=''}" onblur="if(value=='') {value='......'}"></asp:TextBox>  添加默认字符
User_Password.Attributes.Add("Value", "......");

posted @ 2015-10-08 14:51  z542601362  阅读(312)  评论(0)    收藏  举报