Home >php教程 >PHP源码 >codeigniter 3.0 修改翻页库pagination 支持ajax请求

codeigniter 3.0 修改翻页库pagination 支持ajax请求

PHP中文网
PHP中文网Original
2016-05-23 17:09:231098browse

扩展了翻页lib,当base_url为空值值调用ajax请求,herf里面填写的是javascript:void(0)。
cur_page参数传入原本无效,457增加!is_numeric($this->cur_page)判断支持该参数传入有效。                  

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn