开发者

How to use custom password character in c# textbox in web forms?

I found that PasswordChar works for windows form Textbox control in this purpose, but how can I do that in case of web form? Please he开发者_StackOverflow社区lp.thx


You can't change the character displaying in a <input type="password">.

You can create a regular textbox and capturing the change event you can grab the text in it into a javascript variable and replace it with your own character.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜