title: jquery size() for chat box
body: <p>i am building a chat room using php/mysql and jquery. I need to make sure that only 10 messages are shown at any time. For this i need to know number of divs of chat messages in my chatroom. I have tried using jquery size and length but none seems to work. Please help!</p>
  
  <p>for size m writing: $(#chat).size();</p>