I am trying to return the index of a cell in a table, when a textbox is manipulated. I have an onchange event with the textbox and I am sending the textbox object as a parameter with the key word this. In my Javascript I am trying to obtain the index of the cell and row that the Textbox was contained in. I thought the following would work but had no luck, it returns undefined, and haven't found much in my searches.
Any help would be appreciated. Thanks!
Code:
function cell_onchange(sender)
{
test = sender.cellindex;
alert(test);
}
Any help would be appreciated. Thanks!