how to insert a variable with data in jquery?
<p>If I have a variable defined in jquery as follows:</p>

<pre><code>var insertString = "&lt;div id='divid'&gt;";
    insertString += "&lt;input type='text' name='textbox' value=''&gt;";
    insertString += "&lt;/div&gt;";
</code></pre>

<p>Now, if I want to insert the above variable 'insertString' before some DOM element, how can I do it? I tried Something like below with no success</p>

<pre><code>  insertString.insertBefore("body");
</code></pre>
