/ Published in: JavaScript
![](/img/icon_sav.png?v3)
Used to change the color of a text box.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function colorChange(formName,formItem){ document.forms[formName.name].elements[formItem.name].style.backgroundColor = "#FFFFFF"; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)