jQuery preventDefault() not triggered
Update And there’s your problem – you do have to click event handlers for some a elements. In this case, the order in which you attach the handlers matters since they’ll be fired in that order. Here’s a working fiddle that shows the behaviour you want. This should be your code: Note that the order of attaching the handlers has been … Read more