Only if you use a type=“text” field to display the word “password” and then use JavaScript to change it to a type=“password” field when they start typing in it.
Preferably you’d have JavaScript when the page first loads change it the other way so that it starts out as a password field and will still *** the input for those without JavaScript.
You are welcome. It gave me another web page with a JavaScript that turned out to be not quite so simple to write as I’d first thought (as it would have been if it weren’t for IE not allowing type to be changed).
I wasn’t commenting on the standards at all since the code to change the field type actually worked in four of the five browsers I tested it in. Of course if you wanted to actually comply with the standards then you’d just move most of the code that swaps out the entire input field outside of the JScript conditional comment. That would have those four browsers running more code than is actually needed since changing the type is more efficient than swapping out the whole field.
Another one of those instances where Internet Explorer gets it right and all the other browsers get it wrong.