I want to point out that the "First come, first serve" rule is not always true, it also depends on how you register a handler:
Handler1 - $(document).on('click', 'a', function....)
Handler2 - $('a').on('click', function....)
This the above example, the Handler 2 is always called before the handler1.
Have a look at this fiddle: http://jsfiddle.net/MFec6/
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…