JQuery: NOT using document.ready and inserting HTML Tags = is this allowed?
<p>is this a valid JQuery usage pattern to :</p>

<pre><code>&lt;script type="text/javascript"&gt;
        $("body").prepend('&lt;input type="hidden" id="error" value="show"&gt;');         
    &lt;/script&gt;
</code></pre>

<p>That is using Jquery to manipulate / insert HTML Tags <strong>when the Document has NOT YET been loaded</strong> (by not using document.ready for the inserting into the DOM)?</p>

<p>(Normally I only use document.ready, but in this case I need to insert some Information into the DOM that then is present, when document.ready is called. This is some kind of "happens-before" relations ship I want to achieve so that I am shure when document.ready is called the inserted Form field is available in the document, as I depend on that information.</p>

<p>Thank you very much
jens</p>
