PDA

View Full Version : Javascript help, please.


Hyde
10-23-2002, 04:22 AM
I have a form that needs an extra function...
Don't know if it's possible but I'll give it a try :-)


<FORM NAME="submit">

<INPUT TYPE="checkbox" NAME="webmaster"> Webmaster<BR>

User: <INPUT TYPE="text" NAME="user" STYLE="background:#eeeeee" DISABLED><BR>
Pass: <INPUT TYPE="text" NAME="pass" STYLE="background:#eeeeee" DISABLED><BR>

<INPUT TYPE="submit">
</FORM>


When the checkbox 'webmaster' is checked I want the DISABLED removed from 'user' and 'pass' fields. Also if possible change the background color to #ffffff.