Children element attribute - link href - jquery
<p>Hi I am having a trouble in getting href attribute of an a link within the table.</p>

<pre><code>&lt;table border="1" align="center" width="90%" id="choose-address-table"&gt;
&lt;tr&gt;&lt;td&gt;Header&lt;/td&gt;&lt;td&gt; Effective Date&lt;/td&gt;&lt;td&gt; Header&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.google.com" target="_blank"&gt;Text (1)&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;td&gt;01-01-2013&lt;/td&gt; &lt;td&gt; &lt;input type="button" class="SelectorButton"  name="Request Print" value="Request Print"/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tabl&gt;
</code></pre>

<p>JS</p>

<pre><code>$(".use-address").click(function () {

         var link = $(this).parent().siblings(":first").children().children();
         var link1 = $(this).find('a'); alert(link1.attr('href'));
         //             alert(link.html());
         //             alert(link.text());
</code></pre>
