Why "document.write('<scr'+"?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/236073/why-split-the-script-tag-when-writing-it-with-document-write">Why split the &lt;script&gt; tag when writing it with document.write()?</a>  </p>
</blockquote>



<p>I have only shallow knowledge of JavaScript, and was wondering why I often see the following type of code in web pages:</p>

<pre><code>document.write('&lt;scr'+'ipt type="text/javascript" src="'+bub_url+'"&gt;&lt;'+'/script&gt;');
</code></pre>

<p>What not just write...</p>

<pre><code>document.write('&lt;script type="text/javascript" src="'+bub_url+'"&gt;&lt;/script&gt;');
</code></pre>

<p>Thank you.</p>
