how is this done? i cant get it to work./ i have: <input class="inputbox" type="text" size=19 name="Name" onClick="form.bgColor = '#282484';">
<input class="inputbox" type="text" size=19 name="Name" onClick="this.style.backgroundColor = '#282484';"> Code (markup): Should work if I remember correctly, I'll test it in a second.... ...Yeah works great.
I'd use onfocus() instead of onclick() so that it'll also work when the input gets focus from user typing the TAB, for example.