Just curious if there is a best practice when choosing between

$("a").click(function(){
   // stuff
   return false;
});

and

$("a").click(function(){
   // stuff
   event.preventDefault();
});

to cancel out the href of an anchor when clicked.

Thanks in advance for the help.

Reply via email to