Reg pagination in ajax

Hi all,
Iam using ajax in my form to display some records from database.so in
that i need pagination.how to add pagination in ajax…if any one knows,
help me