title: Pass data to pagination plugin in jquery
body: <p>I am using the pagination plugin found on: <a href="http://flaviusmatis.github.io/simplePagination.js/" rel="nofollow">http://flaviusmatis.github.io/simplePagination.js/</a></p>
  
  <p>This is the code I am using in my programme:</p>
  
  <pre><code>$(function() {
    $('#pager').pagination({
        items:data.length,
        itemsOnPage: 10,
        cssStyle: 'light-theme'
    });
  });
  </code></pre>
  
  <p>The problem is that I want my 'data' object to be paginated. I am initializing an empty table and filling it after appropriately manipulating the html by:</p>
  
  <pre><code>$('#tabbody').html(upd);
  </code></pre>
  
  <p>Just below this tabbody is the pager placeholder. How do I tell the plugin what data to break into pages? Is there any other plugin that makes this easier?</p>