/ Published in: JavaScript
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"; }