Posted By

kathyd on 07/01/06


Tagged

forms


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

luman
meth
terriK
panatlantica
vali29
SpinZ
seanpowell
guo3823538


FormField Background Color


 / Published in: JavaScript
 

Used to change the color of a text box.

  1. function colorChange(formName,formItem){
  2. document.forms[formName.name].elements[formItem.name].style.backgroundColor = "#FFFFFF";
  3. }

Report this snippet  

You need to login to post a comment.