Forum Moderators: open
function getCellByRowCol(rowNum, colNum)
{
var tableElem = document.getElementById('tblTest');
var rowElem = tableElem.rows[rowNum+1];
var tdValue = rowElem.cells[colNum+1].innerHTML
return tdValue;
}
the elements of the table are <input type="text"> and i need some way to get the numbers out. if you could help please.
Note:
- <cellRef>.childNodes[0].value is unsafe,
due to the possible presence of empty text nodes.
Do I get a cup of tea with that?