|
|
Q1601 Is there any way to retreive the text from a table cell based on its position in a table (e.g. cell 5,3)?
irt.org | Knowledge Base | JavaScript | Table | Q1601 [ previous next ] Q1601 Is there any way to retreive the text from a table cell based on its position in a table (e.g. cell 5,3)?Use the id attribute to fake it:
The following was submitted by alex ivetic Important note: make sure that ID's of the row and columns are NOT numbers only, otherwise referencing them with document.all[row_id] won't work. (It's ok to do something like <TR ID="A1">...</TR>, but <TR ID="1">...</TR> will not work. I lost 5 hours trying to figure out why a piece of code is not working because of this!) I guess it javascript converts the string into number somehow even though you pass it to a function as a string. Feedback on 'Q1601 Is there any way to retreive the text from a table cell based on its position in a table (e.g. cell 5,3)?' |
-- div -->
|