DOM insertion into source
<p>Im trying to insert data into the DOM with:</p>

<pre><code>$("#item_384_week_49").append("test");

&lt;td id="item_384_week_49"&gt;&lt;/td&gt;
</code></pre>

<p>Works great, but the data is only displayed not inserted into the DOM.</p>

<p>Is there a way to do that, so that the source code contains the inserted data?</p>

<p><strong>EDIT</strong>
Im trying to work with docraptor to create pdf and excel files.
One of the methods to do so i to refer to a web page and the page then gets converted. <a href="http://docraptor.com/documentation#referrer_based" rel="nofollow">http://docraptor.com/documentation#referrer_based</a></p>

<p>If i have the above jquery working to insert data, the data wont be displayed in the generated file.
If the above adds data to the source code, can someone please explain to me why the data isn't displayed when the page is called?</p>
