[jQuery] Deterministic or Non-Deterministic Event Handler execution?
Is it acceptable to assume that Event Handlers are excecuted in the
order they are bound? I just wanted to hear what peoples thoughts
were on this. Lets say I have two plugins which both bind an event
handler to the form submit event. In order for them to co-exist, one
of the event handlers would need to execute first. In other languages
and platforms I would consider making this kind of assumption to be
bad practice. I would think the ideal thing to do would be to support
callbacks (or better yet, custom events) similar to the validate
plugin.
I'd love to hear peoples thoughts on this.