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[formName.name].elements[formItem.name].style.backgroundColor = "#FFFFFF";
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.