The easiest way to get a particular cell is to give it an ID, of course. You
then do not have to play any games. Even if you are binding, you can do this
by adding IDs during the data binding event. You can add IDs and even add
events if a person clicks a cell. It takes slightly longer to render, but it
is easier than searching through the haystack later.
If this is not an option, you will have to go through finding the table and
then iterating through rows to find the particular cell. This tutorial shows
how to create a table, but the basic process of iterating through cells is
the same:
http://developer.mozilla.org/en/docs...DOM_Interfaces
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*********************************************
Think outside the box!
*********************************************
"C" <C@discussions.microsoft.comwrote in message
news:B0**********************************@microsof t.com...
How do I get the text from my cell e..g. <td>Test Text</td>
var elTableCells = elTableRow.getElementsByTagName("td");
alert(elTableCells[0].innerText);