开发者

Reset Pagination li list when new query is executed

I have a basic jquery pagination. The data is loaded and displays correctly. above my results I have added a checkbox to filter these results. this works fine but does not update the result pagination. i.e. the first query returns 15 results. when clicking the checkbox, the new result on returns 10 results. my pagination still stays for all 15 results - how do I get this to update when I execute a different q开发者_C百科uery?


The answer here is to remove the first instance of the loader and load the first paginated query with a submit button. The next submission replaces the pagination with the correct number, and so forth.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜