FormField Background Color

/ Published in: JavaScript
Save to your folder(s)

Used to change the color of a text box.

Copy this code and paste it in your HTML
  1. function colorChange(formName,formItem){
  2. document.forms[].elements[].style.backgroundColor = "#FFFFFF";
  3. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.