Problem loading remote script with jQuery multiple times in Firefox
<p>I have a script element in my webpage, something like this:</p>

<pre><code>&lt;script id="myscript"&gt;&lt;/script&gt;
</code></pre>

<p>Now, from a javascript file, I'm doing something like the following:</p>

<pre><code>$('#myscript').src('http://foo.bar?callback=somefunc')
</code></pre>

<p>Now this remote script 'returns javascript' of the following form:</p>

<pre><code>somefunc(somearg);
</code></pre>

<p>When I run all of this, things work neatly, the script gets loaded dynamically, and the 'somefunc' callback is executed.</p>

<p>The problem happens when I do the same thing again. Let's say I again call the same thing:</p>

<pre><code>$('#myscript').src('http://foo.bar?callback=somefunc')
</code></pre>

<p>This, for some reason, DOESNT return the javascript call in Firefox only. (Works fine in IE - somefunc gets executed again as expected).</p>

<p>I can think of ugly workarounds (such as doing a <code>$('head').append('&lt;script...'))</code> every time - but I'd like to know what's going on here.</p>

<p>Thanks in advance!</p>
