upon clicking an anchor link, i send an $.ajax request to the server.
however, before it can finish, the browser navigates to the href location.
originally i have placed e.preventDefault on all anchor, and upon success: doing a window.location to the href.
this works very well, but for anchor's which dont have href attribute, instead some javascript function, this fails, as no href can be found, and ajax request fails.