Why doesn't jQuery's $.get() insert script elements into the DOM?
<p>I am using <code>$.get()</code> to retrieve an HTML snippet from a remote server and insert that snippet into the DOM. The snippet contains several basic HTML elements and a script element. All of the basic elements get inserted, but the script element does not.</p>

<p><strong>Example snippet:</strong></p>

<pre><code>&lt;p&gt;This is a paragraph&lt;/p&gt;
&lt;script type="text/javascript"&gt;
// JavaScript that will work with the HTML in the snippet
&lt;/script&gt;
</code></pre>

<p>I have verified that the script element is in the retrieved snippet by looking at the resources retrieved in Chrome's web inspector. So, why doesn't <code>$.get()</code> insert the script element and is it possible to do what I am wanting to do?</p>

<p><strong>Edit:</strong></p>

<p>To clarify, I was retrieving the HTML snippet with <code>$.get()</code> and inserting it into the DOM with <code>$().html(data)</code>.</p>
