+ 2
How to change the masking character of a password field?
Is it possible to change the masking character of a password input field in HTML from its default value . (bullet) to something else like * (asterisk), # (hash), x etc.? I guess it will involve JS but not sure how to go about it. Any suggestions/solutions would be much appreciated.
10 Réponses
+ 1
Yes, check this out
https://sololearn.com/compiler-playground/WfV016XfnesO/?ref=app
+ 2
IAmSupreme great that's working! Thanks a lot 👍
+ 1
KnightBits I used your same code you gave above 👆
+ 1
KnightBits alright I'll try that, thanks again 👍
+ 1
Tharun Chandramohan you're welcome
0
@KnightBits
I tried the same code you gave but it still comes in ... and not ***. Did it work for you?
0
Hggc