Jump to content

[SOLVED] onclick=""


DeathStar

Recommended Posts

've seen this many times before and just want to know how.

 

i have an text box i want to let the backgorund color changeed when you click in the text box.

 

how can i do this?

 

here is my current code thats not working..

 

<input name="passwd1" type="text" onclick="background-color:#ffffff" maxlength="12" border="0" style="background-color:#333333" />

Link to comment
https://forums.phpfreaks.com/topic/37274-solved-onclick/
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.