rjusa
11-11-2003, 12:24 AM
Here's what I'm trying to accomplish:
I have a checkbox and when checked, sets selected field (as they gain focus) with a highlighted background...I hardcoded individual fields so I know the highlighting works...here's what I've tried:
<SCRIPT LANGUAGE="JavaScript">
var kolor = "$kolor$";
function SetFKolor(FKolor) {
document.forms[0].kolor.value=FKolor;
}
</script>
onmouseup="SetFKolor('highlight')"
onFocus="kolor(event)"
I'm stuck! Any thoughts would be appreciated.
Thanks,
Ron
I have a checkbox and when checked, sets selected field (as they gain focus) with a highlighted background...I hardcoded individual fields so I know the highlighting works...here's what I've tried:
<SCRIPT LANGUAGE="JavaScript">
var kolor = "$kolor$";
function SetFKolor(FKolor) {
document.forms[0].kolor.value=FKolor;
}
</script>
onmouseup="SetFKolor('highlight')"
onFocus="kolor(event)"
I'm stuck! Any thoughts would be appreciated.
Thanks,
Ron