问题
Is this possible to change the default styling of password field? I mean replacing the default stars-symbols with something like •
or etc. jQuery or simply css/html?
Thanx.
回答1:
Take a look at this article:
http://blog.decaf.de/2009/07/iphone-like-password-fields-using-jquery/
回答2:
The masking characters are set by the browser and operating system and you can't customize them with CSS.
Here's a thread that covers it more. You could fake it, but it will break if JavaScript is disabled.
来源:https://stackoverflow.com/questions/1343662/input-type-password-styling-with-jquery