0
How we hide pasward digits in html??? Like 1234 will be hiden and show ***** this tag name????
As above
22 Respostas
+ 2
The others helped you, but you just didn't take it.
+ 1
+ 1
Thank u dear
+ 1
Russ you help me a lot
+ 1
Well, there isn't a tag for it, in fact, you have to do it in JS:
HTML:
<input type = "password" id = "input" />
<div onclick = "s()">Change</div>
JS:
function s() {
let inp = document.getElementById("inp")
if (inp.type != "text") {
inp.type = "text";
} else {
inp.type = "password";
}
+ 1
Its not working in my phone
+ 1
what is not working ?
+ 1
its not showing as * or symbol ?
whic OS you're using ? in android you can update your webview in playstore. for ios, idk.
+ 1
just use this
https://code.sololearn.com/WSrPi5Z7kMh0/?ref=app
0
Use this:
<input type = "password" />
0
Dear i want to hide pasward digits
0
123 how will appear as***
0
input type password in most browser will render the input as * or other symbol
0
I don't get what you mean
0
I want to say that when you put your gmail pasward it show hidden mean * show in the bolck not your pasward words like1233
0
You want an on-off switch for it?
0
Yes
0
Which tag i will put in html by this i will do this
0
Which send by russ
0
I can speak very well thanks for your suggestionssssssss