title: Select td which contains a (Anchor)  tag using jquery
body: <p>I have an HTML code as given below.
  I want to select all td which contains <code>a</code>(anchor) as an immediate child (Here First TD tag) using jQuery.</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;a href="abc.aspx"&gt;ABC&lt;/a&gt;&lt;/td&gt;
      &lt;td&gt;Second Level&lt;span&gt; &gt;&gt; &lt;/span&gt;
          &lt;div&gt;
            &lt;table&gt;
               &lt;tr&gt;
                 &lt;td&gt;&lt;a href="efg.aspx"&gt;EFG&lt;/a&gt;&lt;/td&gt;
               &lt;/tr&gt;
            &lt;/table&gt;
          &lt;/div&gt;
      &lt;/td&gt;
   &lt;/tr&gt;
  </code></pre>
  
  <p> </p>