Jquery problem with plugin
<p>I have PHP page where users can upload photos (using Ajax &amp; PHP script). Those uploaded photos (thumbs) are shown after upload in DIV below upload field and fancybox plugin (I'm using it for popup window for photos) is working ok then.</p>

<p>Then, after hitting send button I want to clone that DIV at that same page at message board, bellow other messages with or without uploaded photos.</p>

<p>When I try to do that with:</p>

<pre><code>var pht = $("#photos").clone().addClass('p_pht');
</code></pre>

<p>and try to display sent photos bellow sent message like this:</p>

<pre><code>$("div#wall").append('&lt;div class=msg&gt;'+ message +'&lt;/div&gt;&lt;div class=n_pht&gt;'+ pht.html() +'&lt;/div&gt;');
</code></pre>

<p>Fancybox plugin don't work. Only the link is working but not with popup window as it should be.</p>

<p>What am I doing wrong?</p>
