Hi, i need to execute specific javascript instructions AFTER an external javascript finishes its own process.
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://xxxxxxxx.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
How can jQuery know when that .js has finished doing what it does?