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/

Reply via email to