I have a link like
<a href="www.site.com" class="cancel">go there </a>
And then I have some jQuery:
$(".cancel").click(function(){
confirm("sure??");
});
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?