Do we still need "script.type='text/javascript" when creating a script dynamically?
<p>The code is like this: </p>

<pre><code>var script = document.createElement('script');
//script.type = 'text/javascript'; // do I need this ?
script.src = src;
document.body.appendChild(script);
</code></pre>

<p>The second line has been commented out because it makes no difference to have it.
Or am I missing something ?</p>

<p>Thanks,</p>
