Get HREF property
<pre><code>&lt;a class="some" id="1" href="/s/1/2"&gt;link 1&lt;/a&gt;
&lt;a class="some" id="2" href="/s/2/3"&gt;link 1&lt;/a&gt;

&lt;script&gt;
$(document).ready(function() {
    $('.some').click(function() {
        var id = this.id;
        var link = $(this).css('href');
        alert(id);
        alert(link);
        return false;
    });
});
&lt;/script&gt;
</code></pre>

<p>When I click on the link I get correct id, but "undefined" link.  What is the problem and how can I fix it?</p>
