How to cancel navigation when user clicks a link?
<p>I'm trying to load some stuff using AJAX when a user clicks a link, but I want the link to actually go somewhere so that the app still works when javascript is disabled. Is there any way to just do something with javascript and cancel navigation when a link is clicked?</p>

<p>What's the best practice? Can that be done, or do I need to replace the link using javascript or what?</p>
