javascript - Pass data to pagination plugin in jquery -


i using pagination plugin found on: http://flaviusmatis.github.io/simplepagination.js/

this code using in programme:

$(function() {   $('#pager').pagination({       items:data.length,       itemsonpage: 10,       cssstyle: 'light-theme'   }); }); 

the problem want 'data' object paginated. initializing empty table , filling after appropriately manipulating html by:

$('#tabbody').html(upd); 

just below tabbody pager placeholder. how tell plugin data break pages? there other plugin makes easier?


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -