Targeting an element by only knowing the ID/Class of an element 2 levels down

Targeting an element by only knowing the ID/Class of an element 2 levels down

Im trying to fire off an event of an element, but I need to target the element by only knowing the ID or class of an element thats 2 levels down.

Example: If the DOM src is:
  1. <table>
  2.     <tr /* Target THIS */>
  3.         <td>
  4.             <span id="test">Click me</span>
  5.         </td>
  6.     </tr>
  7. </table>

Then I would want to target the <tr> element by only knowing the span#test element..

Heres some stuff i've been trying, obviously none of it works..

Any help would be appreciated! Thanks