Hi,
I am writing some javascript to read the values of text in the multicolumncombobox to display in another control.
Howerver, the innerText and innerHTML property returns undefined.
The web indicates these should return the text in the <td> tags?
Can you tell me what I am doing wrong.
The code is something like this.
function getRowText(AMCBName, ARow, ACol)
{
RowID = AMCBName+ "RowNo" + ARow; // eg CBXLOOKUPRowNo2
elRow = document.getElementById(RowID);
elTableCells = elRow.getElementsByTagName("td");
alert(elTableCells[ACol].innerText;
elRow = document.getElementById(RowID);
elTableCells = elRow.getElementsByTagName("td");
alert(elTableCells[ACol].innerText;
}