How to load an external JS library that has code between <script> tags using jQuery
<p>The original code I have is</p>

<pre><code>&lt;script type="text/javascript" src="http://platform.linkedin.com/in.js"&gt;
    api_key: qwerty
&lt;/script&gt;
</code></pre>

<p>I want to make this code happen using jQuery after something has been triggered. Something like this</p>

<pre><code>jQuery.getScript('http://platform.linkedin.com/in.js');
</code></pre>

<p>The problem is that I am not sure what the api_key part does, I've never seen the combination of a request to external lib and code between script tags. Is there a way to imitate that with jQuery? And also - what does that line do? :)</p>

<p>Thanks!</p>
