Jump to content

Small help needed


robert_gsfame

Recommended Posts

I have this code

 

<input type="text" name="password" id="password" style="color:#CCCCCC" value="Type Password" onfocus="if(this.value==this.defaultValue){this.value='';this.style.color='#000000';this.type='password';}" onblur="if(this.value==''){this.type='text';this.value=this.defaultValue;this.style.color='#CCCCCC';}"/>

 

The problem is that when i try to type something inside password textbox let say "myname", it didnt change the text into password type ( ******)

 

Which part is wrong?? it worked well in mozilla browser but not in IE 6.0

Link to comment
https://forums.phpfreaks.com/topic/192263-small-help-needed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.