How do I set jquery pagination show page 1 on load -


i'd set page 1 show first when load page using pagination link

jquery pagination

reading documentation: https://github.com/gbirke/jquery_pagination#readme

it seems plugin has option named :

current_page :- page selected when pagination initialized. default: 0

so think like:

$("#news-pagination").pagination(122, {         items_per_page:20,         callback:handlepaginationclick,         current_page : 1 }); 

hth :)


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -