I\'m working on a do-dad that can be embedded in a page like a youtube video. The particular effect I want needs jQuery to work.
I want to load jQuery on the condition t
You can use window.onload. This fires after domReady, so jQuery would surely be loaded by this point.
window.onload
And check for jQuery, not $. Sometimes people use jQuery with other libraries and use $ for something different.
jQuery
$
However, IMHO, I don't think it's a big deal if jQuery gets loaded twice.