title: Wrong extraction of .attr("href") in IE7 vs all other browsers?
body: <p>Can it really be true that the <code>attr("href")</code> command for a link is handled very different in IE7 in comparison to all other browsers?</p>
  
  <p>Let's say I have a page at <a href="http://example.com/page.html" rel="noreferrer">http://example.com/page.html</a> and I have this HTML:</p>
  
  <pre><code>&lt;a href="#someAnchor" class="lnkTest"&gt;Link text&lt;/a&gt;
  </code></pre>
  
  <p>and this jQuery:</p>
  
  <pre><code>var strHref = $(".lnkTest").attr("href");
  </code></pre>
  
  <p>Then in IE7 the value of the <code>strHref</code> variable will be <code>"http://example.com/page.htm#someAnchor"</code> but in other browsers it will be <code>"#someAnchor"</code>.</p>
  
  <p>I believe that the last mentioned case is the most correct one, so is it just a case of IE7 being a bad boy or is it a bug in jQuery?</p>