get the next row in a table-javascript
<p>how wud u get the next row in the following example? (i am trying to print the next three row/column values of the rowId provided)</p>

<pre><code>function printRowData(rowId)
{
    var row=document.getElementById(rowId);
    for(i=0; i&lt;3 ; i++)
    {
        var column=row.getElementsByTagName("td");
        alert(column[0].innerText);

        //now i want to move to the next row...something like row=row.next()?????
     }

}
</code></pre>
