How to browse every 5 records using MYSQL and jquery ajax calls
I am looking for solution where using jquery I want to display 5 records per page and need Next/Prev functionality. So when user click on next button or image it will fetch data from PHP, Mysql and displays it.
SO kind of pagination but us开发者_C百科ing Next/Prev
Thanks & Regards, web programmer
Your question is not very detailed, but I'll take a swing at it. Datatables is a great plugin for jQuery that will display records in a table. It supports pagination, with Next & Previous buttons. Check it out at www.datatables.net
You can see an example of the Next & Previous pagination here.
You can see an example of PHP serving data to datatables here.
If you are using jQuery, look at the tablesorter plugin (along with the pager plugin as well)
精彩评论