stewartwebb
Programmer
Hi all,
Having a small problem which I hope is possible.
Basically i've inserted a row and cells at the end of my table.
Now what i'm trying to do is attach an event (onMouseOver) so that when the user moves the cursor over the row I want to whole row to change colour. Is this possible?
Thanks.
Having a small problem which I hope is possible.
Basically i've inserted a row and cells at the end of my table.
Code:
var a=window.document.getElementById('topTable').insertRow(vRowsLength);
var b=a.insertCell(0);
var c=a.insertCell(1);
var d=a.insertCell(2);
var e=a.insertCell(3);
var f=a.insertCell(4);
b.innerHTML=document.form1.CHG_EFF_DATE.value;
c.innerHTML=document.form1.CHG_ACTIVITY.value;
d.innerHTML=document.form1.CHG_MAN_APP.value;
e.innerHTML=document.form1.CHG_PRINTER_ID.value;
f.innerHTML=document.form1.CHG_TEXT.value;
Now what i'm trying to do is attach an event (onMouseOver) so that when the user moves the cursor over the row I want to whole row to change colour. Is this possible?
Thanks.