Reputation: 19559
What is the execution order of inline events, attachEvent
handlers, and an <a>
tag's href
navigation?
Upvotes: 0
Views: 1218
Reputation: 887195
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.
Upvotes: 2