How to show more list using jquery
I pull out messages and display with PHP/MySQL. Now I want to show only 10 lists. And I want to add button. When I click this button it slides down smoothly and shows another 10, total 20 messages. And if I click the button it again slide down and shows total 30 messages. Could anyone teache me how to do it with jquery please? Thanks in advance. In principle, you want a container where to place all the newly fetched messages. <div id="messages"> <! -- message 1 --> <! -- message 2 --> <div id="newMessages"> </div> </div> Then you want a button (or anchor, or whatever) that you can hook up to a