This article mainly introduces the thinkphp framework can add JS event paging class customPage.class.php, in full instance form to give the pagination class customPage.class.php implementation code and analysis of AJAX dynamic loading data, Set paging links and other functions, the need for friends can refer to the following
This article describes the thinkphp framework can add JS Event Page class customPage.class.php. Share to everyone for your reference, as follows:
For the AJAX dynamic load data paging class, paging events can be added dynamically, removing the href address in a link.
<?php//+----------------------------------------------------------------------//| thinkphp [WE CAN do it JUST THINK it]//+----------------------------------------------------------------------//| Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.//+-------------------------------------------------- --------------------// | Licensed (http://www.apache.org/licenses/LICENSE-2.0)//+------------------------------------------------------- ---------------// | Author: Mai fuel <zuojiazi@vip.qq.com>