title: What is the best way to paginate xml results using jQuery?
body: <p>I am using jQuery to get results, as xml, from a MySQL database. What is the best way to paginate the results?</p>
  
  <p>Right now my script gets the xml and appends each result as a <code>&lt;li&gt;</code> element to a <code>&lt;ul&gt;</code> element. </p>
  
  <p>I'm guessing it will have something to do with creating a global var that gets changed with the next/previous page button that runs a script to remove, then re-append the correct results range, but I'm not really sure.</p>