title: When a li is appended, does it not become a part of the ul "for real"?
body: <p>I have right now this code:</p>
  
  <pre><code>&lt;ul&gt;&lt;li class="listitem"&gt;text&lt;li&gt;&lt;/ul&gt;
  </code></pre>
  
  <p>jQuery:</p>
  
  <pre><code>$('.listitem').click(function() {  
    $("#elname").text($(this).text());  
    $('#slists').css('visibility','hidden')  
    $('#elname').css('visibility','visible')  
    $('#elname').css('display','inline-block')  
  });
  </code></pre>
  
  <p>This is supposed to hide a div and it does, but when I append items to the ul (with the class listitem) nothing happens with the appended item, the class it gets is correct, the title, and the value too.</p>
  
  <p>Can this have something to do with the code above being in the document ready function to do?</p>