What is the execution order of inline events, attachEvent handlers, and an <a> tag's href navigation?
2 Answers
The execution order of individual event handlers is undefined.
If none of the event handlers called e.preventDefault(), and if onclick didn't return false, a navigation will occur.
Try it yourself: http://jsfiddle.net/rhJ2f/
1 Comment
lovespring
even the tag event return false, the binded handler still exec! thanks.