Please see script below. Why are variables defined as functions?
<!--
var hightLightColor = "yellow";
var normalBackgroundColor; // To be set in validateForm
function highLight(theField)
{
theField.style.backgroundColor = hightLightColor;
//theField.style.fontFamily =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.