Hello,
I have an application where I have several script nodes that I append on a node.
When those script elements have a relative src, jquery-1.2.4 manages to execute them synchronously and in the correct order. From what I understand, this is the expected behavior.
But when the script elements have an absolute src, IE7 does not wait for the synchronous execution of the nodes. This leads to random problems in IE7 when a function that is defined in a remote script is called in another inline script element.
Attached is a proposed patch to execute the scripts on a callback chain, using jQuery.getScript when necessary.
I hope this patch suits your coding standards and that you will also consider that the jquery-1.2.3 behavior on this point is a bug.
I can adapt it if you give me some advice because I would really like to have it incorporated in the next jquery release as it fixes a bug on my application.
Jerome