Thanks for answering John, I knew I wasn't doing something wrong. Ok then, that's what I did, use callbacks and checks until everything worked out.
Thanks again. On 9/13/07, John Resig <[EMAIL PROTECTED]> wrote: > > > Nope, I wasn't able to get it in for this release. You'll have to add > additional checks in the callbacks to make sure that they are loaded > in the correct order, and before the document ready callback is > called. > > --John > > On 9/13/07, Joan Piedra <[EMAIL PROTECTED]> wrote: > > Hey "jquerians", > > I'm trying to load 2 external .js with .getScript() before the .ready() > > function, I read in the 1.2 roadmap this could be done, but I can't make > it > > work. > > Am I missing something? > > > > > http://docs.jquery.com/JQuery_1.2_Roadmap#.ready.28.29_waits_for_.getScript.28.29 > > > > > > $.getScript('/inc/jquery/jquery.media.js'); > > $.getScript('/inc/swfobject.js'); > > $(document).ready(function(){ > > console.log(typeof $.media, typeof deconcept); > > }); > > > > Regards, > > -- > > Joan Piedra || Frontend web developer > > http://www.justaquit.com/ || http://www.joanpiedra.com/ > -- Joan Piedra || Frontend web developer http://www.justaquit.com/ || http://www.joanpiedra.com/