Dynamic field background color

admin

Administrator
Staff member
Hi. I'm just looking for someone to point me in the right direction for a fairly simple JavaScript task.

I have a couple form fields set up. One is a SELECT field and one is a simple text INPUT field. I would like to set this form up so that when the user changes the SELECT field, the text INPUT field is cleared and the background (of the text input) is changed to gray.

I would assume this involves some CSS for the background color.

Any advice or direction would be greatly appreciated.

Thanks much!
 
Back
Top