Home  >  Article  >  Web Front-end  >  JQuery Ajax non-refresh paging example code_jquery

JQuery Ajax non-refresh paging example code_jquery

WBOY
WBOYOriginal
2016-05-16 17:01:07917browse

Let’s take a look at the renderings first:

The implementation principle is very simple. It uses the jquery.pagination plug-in. Whenever a page number is clicked, it asynchronously goes to the server to get the data of the page. A brief introduction is as follows:
1. Database table structure: very simple, only four fields They are News_id News_title News_time News_readtimes

2. Front page code:

Copy code The code is as follows:


JQuery no refresh paging
js" type="text/javascript">