Cancel functionality in a href
<p>I have a link like</p>

<pre><code>&lt;a href="www.site.com"  class="cancel"&gt;go there &lt;/a&gt;
</code></pre>

<p>And  then I have some jQuery:</p>

<pre><code>$(".cancel").click(function(){
     confirm("sure??");
 });
</code></pre>

<p>But when I click cancel in the alert box it still goes to www.site.com in stead of doing nothing. How to solve this?</p>
