To get the index of the TR
<p>I need to find out the position of the TR.</p>

<p>actually i got the index of the TD which is 291, 
But i need to get the index of the TR contains the TD.</p>

<p>We can get the innerHTML by document.getElementsByTagName("td")[291].parentNode.innerHTML..</p>

<p>How to get the index of that parentNode i mean the TR..</p>

<p>Please help me</p>
