From <td> to <tr> jquery
===

Having:

    var a = $(document.getElementById("HTMLFRAME")).contents().find('hi');

Pointing to the object:

    <td>hi</td>

In a table: 

     <tr id="1">
         <td>hi</td>
     </tr>
     <tr id="2"></tr>
     <tr id="3"></tr>
     <tr id="4"></tr>

How can I descend to 

    <tr id="3></tr>
using only methods like next(), offsetParents(), etc.

    //ids or clases are not known