title: jquery get href in children()
body: <pre><code>  alert($(this).children().next().html());
  </code></pre>
  
  <p>returns</p>
  
  <pre><code>  &lt;a href="thelink.php?id=XXXX"&gt;click me...&lt;/a&gt;
  </code></pre>
  
  <p>How do I change above statement to grab only the href?</p>
  
  <p>Have tried attr('href') but can't get it to work.</p>
  
  <p>(Yes, jq-noob and no time.)</p>
  
  <p>//edit - code added:</p>
  
  <pre><code>&lt;div class="row"&gt;
    &lt;div class="date"&gt;
      &lt;h2&gt;27&lt;/h2&gt;
      &lt;h3&gt;dec&lt;/h3&gt;
    &lt;/div&gt;
    &lt;h2&gt;&lt;a href="/wpb/index.php?id=4192#4199"&gt;the title..&lt;/a&gt;&lt;/h2&gt;
    &lt;p&gt;the description...&lt;/p&gt;
  &lt;/div&gt;
  
  jq invoked by:
  $("#threecol .row").click(function() {  
    alert($(this).children().next().href);
  });
  </code></pre>
  
  <p>regards,</p>