Home > front end >  Cms paging implementation
Cms paging implementation

Time:05-26


1. Use the GridManager plug-in, get form with paging code, modify the form fields;
2. Wrap paging parameters: the current pages, each page shows article number, provide getFirst method can get the first parameter to the SQL statement last limit: (the current article pages - 1) * display a page number=first
3. The form to send an asynchronous request, carried paging parameters to the background controller
4. In the end by the SQL statement, dynamic access to limit at the back of the two paging parameters, return the query results to front form js code, implement paging display
  •  Tags:  
  • Ajax
  • Related