Using insertBefore with the result of $.get
<p>Im trying to make this work with jQuery</p>

<pre><code>var ng = $.get('/static/views/ng.html');
$('#myHeader').insertBefore(ng);
</code></pre>

<p>the ng.html contains this</p>

<pre><code>&lt;div id="ng"&gt;
    &lt;div class="c all"&gt;&lt;/div&gt;
    &lt;div class="f all"&gt;&lt;/div&gt;
    &lt;div class="p all"&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>It doesn't trow any error or so, I figure that it is the $.get that doesn't return a correct object but don't know how to continue.</p>

<p>Any ideas?</p>

<p>Thanks</p>
