How to get the href of a link using jquery?
<p>I have a simple jquery code:</p>

<pre><code>$(function(){                              
   $('#note_pag a').click(function(){      
    alert('click');                
    return false;                          
   });                                     
});            
</code></pre>

<p>and this is the html code:</p>

<pre><code>&lt;div id="note_pag"&gt;                               
  &lt;ul&gt;                                            
    &lt;li&gt;&lt;a href="1"&gt;1&lt;/a&gt;&lt;/li&gt;                    
    &lt;li&gt;&lt;a href="2"&gt;2&lt;/a&gt;&lt;/li&gt;                    
    &lt;li&gt;&lt;a href="3"&gt;3&lt;/a&gt;&lt;/li&gt;                    
    &lt;li&gt;&lt;a href="4"&gt;4&lt;/a&gt;&lt;/li&gt;                    
  &lt;/ul&gt;                                           
&lt;/div&gt;    
</code></pre>

<p>my question is: how can i get the href of the link clicked from the user?</p>

<p>Thanks</p>
