> So...the lesson is...the jquery.js file always has to be 
> included for the jQuery code to work and it has to be 
> referenced first...correct?

It doesn't have to be *first*, but it does have to be before any code that
uses jQuery.

Think about it this way... Would this code work:

   alert( x );
   var x = 1;

Probably not! :-)

Script files are loaded in the order they appear in the code, so just as
that example wouldn't work, trying to use jQuery functions before they are
loaded won't work either.

-Mike


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to