Script tags are run (though not necessarily "downloaded")
sequentially. So as long as the script tag for the "library" is before
the call to the function  in the "library" you shouldn't have any
problems.

For example, the following works:

   <script src="somelibrary.js"><script>
   <script>somelibraryfunction()</script>

However this won't work:

   <script>somelibraryfunction()</script>
   <script src="somelibrary.js"><script>

jQuery's $().ready shouldn't change the outcome.

If that doesn't solve the problem then you'll need to show a
non-working example.

Karl Rudd

On 5/31/07, DaveG <[EMAIL PROTECTED]> wrote:

Does $(document).ready ensure that all javascript libraries are loaded
in addition to the DOM being ready?

I have a case on a very slow network connection, where a call to a
library function is made seemingly before the library is loaded.

  ~ ~ Dave

Reply via email to