title: jQuery Easy pagination without plugin
body: <p>So, my problem was the following.
  It's follow the previous <a href="https://stackoverflow.com/questions/13504315/jquery-loop-clone-simply-why">HERE</a> &amp; <a href="https://stackoverflow.com/questions/13483052/jquery-xml-mystery-get-digits-not-letters">HERE</a></p>
  
  <p>I got dynamycaly added table from XML with this code:</p>
  
  <pre><code>$.ajax({
      type: "GET",
      url: "../datas/_pizzas",
      dataType: "xml",
      success: function(xml) {
          $(xml).find('row').each(function() {
              var getNom = $(this).find('nomp').text();
              var Prix1 = $(this).find('petit').text();
              var Prix2 = $(this).find('moyen').text();
              var Prix3 = $(this).find('grand').text();
              $('&lt;table id="item"&gt;&lt;/table&gt;').html('&lt;tr&gt;&lt;td id="test" onclick="afficher(\''+getNom +'\','+Prix1+','+Prix2+','+Prix3+');"&gt;&lt;b&gt;' + getNom + '&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;').appendTo('#pizzas');
          });
      }
  });
  </code></pre>
  
  <p>and i need to limit the number of them on the page.
  And if possible have a index navigation.
  I search for a pagination plugin that would do the trick but I have not found any that suited me, too much useless config, or unreadable for me.</p>
  
  <p>Someone have code or explain for me ????</p>