Before anybody asks, this is not the common question about how to run a script after the page loads or anything like that.
Basically, I have this example (fiddle),
$.getScript("http://platform.linkedin.com/in.js").done(function() {
alert('hello');
});
in which the alert fires right after my click, because it fires when the AJAX call ends. My intention is to have the alert to fire only after that LinkedIn company profile is being shown on the page, so that I can access its elements via jQuery. Anybody knows how to do that or if it is even possible?
Thanks in advance!