[jQuery] how the callback of $.ready execute?

[jQuery] how the callback of $.ready execute?


hi all,
I need to do some special action in the $.ready callback.but i have
multi block $.ready() code.one to hold shared code,others for page
special code.
so the question is what will be execute first,is that fixed?From the
test i have done,it was not fixed.
some more questions,what's the better way to load external file on the
fly when the file is needed?
how can i know is one file is loaded completely?
郑鑫豪