DEV Community


Pagination using AJAX and jQuery

John Ellee Robado
I am a person that has passion in coding Web Design & Development, Programming
・1 min read

Create a javascript file let say pagination.js

Inside your page called notes.php, write this JavaScript code on the bottom

Now, this is the load_notes.php back end for AJAX


pagination(url,div_id,table_id,trigger,offset,limit) is to pagination('load_notes.php','load_here','notes','load_pagination','0','15')

Discussion (0)