jquery - pagination from filtered search -


i doing search in jquery:

$('#maincontent_mytable tr:gt(0)').each(function () {     $(this).find('td:eq(0)').not(':contains(' + filterval + ')').parent().hide(); }); 

i'd able quick pagination (without plugin) rows remain in table above find.

what best way this?

just attach 1 example , include search before call:

showpage = function(page) {     $(".content").hide();     $(".content").each(function(n) {         if (n >= pagesize * (page - 1) && n < pagesize * page)             $(this).show();     });         } 

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -