title: jQuery selector from iframe to parent
body: <p>I have a html document that has this structure:</p>
  
  <p><a href="http://i.stack.imgur.com/zrOq1.png" rel="nofollow">http://i.stack.imgur.com/zrOq1.png</a> &lt;- sorry for link, but I can't place imeges inside question</p>
  
  <p>I would like to get from my iframe to it inside parent document.</p>
  
  <p>The simplest way would be to give my iframe id, but I can't do that.</p>
  
  <p>In my iframe I have a selector like this:</p>
  
  <pre><code>$("table.TitleText &gt; tbody &gt; tr &gt; td.TitleText",parent.document)
  </code></pre>
  
  <p>but it gives me two or three elements in my parent document.</p>
  
  <p>I need to check if this td has text "MY NAME" in it, then do parent 9 times and then get next tr, then div with class 'contentNode' and iframe in it.</p>
  
  <p>I know it sounds crazy, but I don't know how to do it another way :/</p>
  
  <p>I need a selector that will find firsth iframe after TD containing "MY NAME", so I can change it height</p>
  
  <p>Could anyone help me?</p>