Quote:
Originally Posted by AshtonHogan
You see, I cannot set Id's because the table rows are dynamically generated and there will be an X amount.
|
Of course you can - and exactly
because it's being generated dynamically.
Quote:
Originally Posted by AshtonHogan
Is there no way of doing something similar to the line of code I mentioned above?
Code:
inputArea ABC = document.getElementById("MYTABLE")[x][y].innerText;
|
I was going to say no, but I had a look around the web and found something you might try:
Code:
/*edit me to fit your needs*/
document.getElementById('rt').rows[1].cells[0]
No idea if it'll work - never tried it or had any use for it myself. If not, you'll need to look at walking the document, I think. Have a look around for parentNode, childNodes, getElementsByTagName - all dumped into some nice loops, too.