Ticket #3781 (closed enhancement)
bound events execution order
|Reported by:||lukebrookhart||Owned by:||brandon|
|Keywords:||bind execution order||Cc:||jeresig@…|
I was talking to John Resig about how bound events are ordered. He explained that they are executed in the order that they are added.
There should be method to assign the order when you're binding to an event
Here's an example:
I want to bind $('#please_wait').show() to the window unload event. Since there are other scripts already bound to the unload event, the Please Wait object is not shown until these are finished, which is not the desired effect.
- need changed from Patch to Test Case
- Owner set to brandon
- Type changed from bug to enhancement
- Component changed from core to event
- Priority changed from major to minor