title: jquery href returns undefined
body: <p>I have this in my HTML</p>
  
  <pre><code>&lt;a class="deleteLink" href="system/id"&gt;link&lt;/a&gt;
  </code></pre>
  
  <p>Then using jQuery, I run this in $(document.ready(function()</p>
  
  <pre><code>alert($("a.deleteLink").attr("href"));
  </code></pre>
  
  <p>Which shows <strong>system/id</strong></p>
  
  <p>But running this:</p>
  
  <pre><code>alert($("a.deleteLink").href);
  </code></pre>
  
  <p>Shows <strong>undefined</strong></p>
  
  <p>If I add an Id to the a tag like this</p>
  
  <pre><code>&lt;a id="myId" class="deleteLink" href="system/id"&gt;link&lt;/a&gt;
  </code></pre>
  
  <p>Then </p>
  
  <pre><code>alert(myId.href); 
  </code></pre>
  
  <p>shows <strong><a href="http://localhost/system/id" rel="nofollow noreferrer">http://localhost/system/id</a></strong> which is what I want to get from jQuery (so I can do something like </p>
  
  <pre><code>$.post($("a.deleteLink").href);
  </code></pre>
  
  <p>Can anyone help me with getting the full href value out of jQuery (1.2.6) please?</p>