Howdy!
I have scripts
It does not work. I get error on <input> field line.
All I want to do is highlight the row in which the input field is. I've seen this in some pages and would like to have identical effect on my page.
What am I doing wrong?
Thank you all in advance!
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
I have scripts
Code:
<script type="text/javascript" language="JavaScript">
function HighLight(xRow) {
document.getElementByName(val).background=#CCCCCC;
}
function noHighLight(xRow) {
document.getElementByName(xRow).background=#FFFFFF;
}
</script>
</code]
and form fields with
[code]
<tr class="boxed" name="tblrow1">
<td class="boxed" >BB3-3 MODENA</td>
<td class="boxed" >ROSETTE FLUTED OVERLAY BLOCK - .75</td>
<td class="boxed" >MODENA</td>
<td class="boxed" align="right">0.00</td>
<td class="boxed" align="right">0.00</td>
<td class="boxed" align="right">0.00</td>
<td class="boxed" align="right">0.00</td>
<td class="boxed" align="right">18.00</td>
<td class="boxed"><input name="QTYSOLD1" type="text" size="9" maxsize="9" onFocus="HighLight('tblrow1');" onBlur="noHighLight('tblrow1');"></td>
It does not work. I get error on <input> field line.
All I want to do is highlight the row in which the input field is. I've seen this in some pages and would like to have identical effect on my page.
What am I doing wrong?
Thank you all in advance!
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours