.type error in IE

Posted by MrEnder on Stack Overflow See other posts from Stack Overflow or by MrEnder
Published on 2010-04-02T11:33:59Z Indexed on 2010/04/02 11:43 UTC
Read the original article Hit count: 392

Filed under:
|

The line

<input type="text" name="passwordLogin" value="Password" onfocus="if(this.value=='Password'){this.value=''; this.type='password'};" onblur="if(this.value==''){this.value='Password'; this.type='text'};" size="25" />

works in all web browsers except IE... how can I fix it for IE?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ie