Having a bit of trouble figuring out how to get the innerText of
a cell other that the one selected. Any help would be apprecated
as I am very new to javascript. I got the working example from
msdn site.
Get inner text for cell(1) works
*************** *************** ****
if (event.srcEleme nt.cellIndex == "1")
{
event.returnVal ue = false;
alert(event.src Element.innerTe xt);
}
Fails to get innertext for cell(10)
*************** *************** ******
if (event.srcEleme nt.cellIndex == "1")
{
event.returnVal ue = false;
alert(event.src Element.cells(1 0).innerText);
}
Comment