How to use pagination in pages that are coming through ajax?
Posted: Mon Apr 13, 2009 2:52 am
hi,
i am using ajax for showing result in a page. how can i use pagination on these pages. i am using prev and next link.
this is the code:
<a href="index.php?pagenum=<?php echo $prev;?>"> << PREV >></a> <a href="index.php?pagenum=<?php echo $next;?>"> << NEXT >> </a>
</div>
i am sending each result pages on the index pages through ajax. i have written the above code for it. but the result and not changing. It menas i m not redirection the page properly. can anyone give me solution how to redirect to the ajax pages.
thanks
i am using ajax for showing result in a page. how can i use pagination on these pages. i am using prev and next link.
this is the code:
<a href="index.php?pagenum=<?php echo $prev;?>"> << PREV >></a> <a href="index.php?pagenum=<?php echo $next;?>"> << NEXT >> </a>
</div>
i am sending each result pages on the index pages through ajax. i have written the above code for it. but the result and not changing. It menas i m not redirection the page properly. can anyone give me solution how to redirect to the ajax pages.
thanks