SyntaxFix
Write A Post
Hire A Developer
Questions
Better use the jQuery way. To delay the ready event, first call $.holdReady(true). Example (source):
$.holdReady(true)
$.holdReady(true); $.getScript("myplugin.js", function() { $.holdReady(false); });