I need to trigger the click event on a link and then, if none of the listeners prevented the default, change the location.
This is what I\'ve got so far:
enter code here
To extract my notes to others posts: (another way to say same basic stuff)
MyLink
EDIT1:@ comments:
If the "other" you describe returns false, you at that point, terminate the callback with the false - so you are correct but has nothing to do with this handler. Which ever one hits first executes, and the other never does return, and this one redirects prior to the other one hitting the log if it executes first.
In order to put your log in, you put that where I have my
"// do whatever I want here, then redirect"
comment To remove the other event, then bind with this one only:
MyLink