Home >Web Front-end >JS Tutorial >jquery paging object usage example_jquery
The usage method and related parameters are as follows:
displayId//The default value display area Id is pageBox, which can be left blank.
pagesize//The number of items per page, the default is 15, which can be left blank.
totalsize //Total number of items
curpage//Current page number
simple//The default is false, true does not have the previous page and next page,
type//0 defaults to http jump, 1 is jsp The page must have pageCallBack(pageNum) function, starting from 1
url//link address, if the type is different from 1, you can leave it blank
Example: Page._run({totalsize:300,curpage:11,type :1,simple:true}