0

How we hide pasward digits in html??? Like 1234 will be hiden and show ***** this tag name????

As above

22nd May 2019, 3:11 PM
shahziab
22 ответов
+ 2
The others helped you, but you just didn't take it.
22nd May 2019, 3:24 PM
Russ
Russ - avatar
22nd May 2019, 3:21 PM
Russ
Russ - avatar
+ 1
Thank u dear
22nd May 2019, 3:22 PM
shahziab
+ 1
Russ you help me a lot
22nd May 2019, 3:22 PM
shahziab
+ 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"; }
22nd May 2019, 3:25 PM
Airree
Airree - avatar
+ 1
Its not working in my phone
22nd May 2019, 3:25 PM
shahziab
+ 1
what is not working ?
22nd May 2019, 3:26 PM
Taste
Taste - avatar
+ 1
its not showing as * or symbol ? whic OS you're using ? in android you can update your webview in playstore. for ios, idk.
22nd May 2019, 3:30 PM
Taste
Taste - avatar
22nd May 2019, 3:32 PM
Airree
Airree - avatar
0
Use this: <input type = "password" />
22nd May 2019, 3:12 PM
Airree
Airree - avatar
0
Dear i want to hide pasward digits
22nd May 2019, 3:13 PM
shahziab
0
123 how will appear as***
22nd May 2019, 3:13 PM
shahziab
0
input type password in most browser will render the input as * or other symbol
22nd May 2019, 3:15 PM
Taste
Taste - avatar
0
I don't get what you mean
22nd May 2019, 3:15 PM
Airree
Airree - avatar
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
22nd May 2019, 3:17 PM
shahziab
0
You want an on-off switch for it?
22nd May 2019, 3:19 PM
Airree
Airree - avatar
0
Yes
22nd May 2019, 3:20 PM
shahziab
0
Which tag i will put in html by this i will do this
22nd May 2019, 3:20 PM
shahziab
0
Which send by russ
22nd May 2019, 3:27 PM
shahziab
0
I can speak very well thanks for your suggestionssssssss
22nd May 2019, 3:37 PM
shahziab