title: jquery .text() or .html() not working
body: <p>I am dynamically generating a div and want to change its content via html()/text(), but its not working.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>var div = '&lt;div class="ps_album"&gt;&lt;img alt="" src="images/1px.gif" class="thmb"&gt;&lt;div class="ps_desc"&gt;&lt;h2&gt;title&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;';
  
  $(div).find('.ps_desc').html('&lt;h1&gt;Hello&lt;/h1&gt;');
  $(div).appendTo('body');
  </code></pre>
  
  <p>in above code, the 3rd line i.e.</p>
  
  <pre><code>$(div).find('.ps_desc').html('&lt;h1&gt;Hello&lt;/h1&gt;');
  </code></pre>
  
  <p>not working.. why??</p>