I know how to get the cell value by column number,but I'm looking for where i can get the value using columnName.
document.getElementById(tableId).rows[rowline].cells[0]; It'll return me the value in 1st column in 'rowline'th row
I want to get the value by specifying columnName somthing like rows[rowline].cells["FirstName"];
As columnNumber can be changed at any time so its goos to get the value by name and not by the number.
I tried a lot but ended w/ nothing. I didn't get any useful info.
If you've answer plase pass it to me. Thanks in advance.
Log in to post a comment.
I know how to get the cell value by column number,but I'm looking for where i can get the value using columnName.
document.getElementById(tableId).rows[rowline].cells[0];
It'll return me the value in 1st column in 'rowline'th row
I want to get the value by specifying columnName somthing like
rows[rowline].cells["FirstName"];
As columnNumber can be changed at any time so its goos to get the value by name and not by the number.
I tried a lot but ended w/ nothing. I didn't get any useful info.
If you've answer plase pass it to me.
Thanks in advance.