title: jquery value from .attr not correct in IE
body: <p>For one of my javascript functions I'm using jqueries .attr method to retrieve an href value from my pagination value.  The call is simply</p>
  
  <pre><code>$(".pager").click(function(){
      var start = $(this).attr('href');
      alert("START: " + start);
  }
  </code></pre>
  
  <p>The html looks like this:</p>
  
  <pre><code>&lt;a href="#10" class="pager"&gt;&lt;span class="page_no"&gt;2&lt;/span&gt;&lt;/a&gt;
  &lt;a href="#20" class="pager"&gt;&lt;span class="page_no"&gt;3&lt;/span&gt;&lt;/a&gt;
  ...
  </code></pre>
  
  <p>In both FF and Chrome I see the Start value as 10 (clicking on the first href).
  In IE it returns the entire HTML (e.g.)</p>
  
  <pre><code>mysite/search_results.php#10
  </code></pre>
  
  <p>I even tried using substring like so:</p>
  
  <pre><code>var start = $(this).attr('href').substr(1);
  </code></pre>
  
  <p>but this also returned the URL less the first charcter in my address:</p>
  
  <pre><code>ysite/search_results.php#10
  </code></pre>
  
  <p>Any thoughts or suggestions?</p>