jQuery: click handler is not invoked when link is opened in new tab/window

Posted by glaz666 on Stack Overflow See other posts from Stack Overflow or by glaz666
Published on 2010-04-05T11:26:39Z Indexed on 2010/04/05 11:33 UTC
Read the original article Hit count: 209

Filed under:
|
|
|

Hi!

I have noticed when user clicks on a link with, say middle button, or shift/ctrl+left button, click handler attached to hyperlink is not called.

I have seen solutions to track mousedown event, but what I'd like is to track exact event of following a link.

Are there any suggestions? Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery