V
V
Vitaly2015-09-23 18:32:18
JavaScript
Vitaly, 2015-09-23 18:32:18

How to change the dots in the input type password to your own?

I want to change the "dots" by which the browser overwrites the input if it has a password type, with my own, for example, with asterisks.
And I really need it to work in IE 8

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kizernis, 2015-09-26
@pashakiz

standard version
https://css-tricks.com/snippets/css/password-input...
JS hack
stackoverflow.com/questions/1648665/changing-the-s...
as I immediately thought.. use instead of type ="password" just type="text" and in JS make a mask on onKeyPress event...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question