Checkout following jQuery code written with jQuery.1.4.2. What do you think will happen when first link is clicked.
I was expecting that I would see both the messages. However jQuery only invokes the very first message.
return false does two things. It stops the default behavior which is go and fetch the link mentioned in the
href of the anchor tags. Also it stops the event from bubbling up. Since live method relies on event bubbling, it makes sense that second message does not appear.
Fix is simple. Just block the default action but let the event bubble up.