bootStrap 分页组件

所属分类:导航-分页

 133080  362  查看评论 (34)
分享到微信朋友圈
X
bootStrap 分页组件 ie兼容9

更新时间:2017/1/24 上午9:56:21

更新说明:修正评论中的出现负数页问题,修改(抬头45度看见云提出的)84行的判断中添加当前页大于1。

相关插件-分页

实用美观的jquery 分页

代码简单,运行速度快,兼容所有浏览器
  分页
 40426  452

简单的Vue分页插件pagination.js

分页插件,带省略的Vue分页插件
  分页
 52995  354

jQuery长文本分页插件textify

jQuery实现的长文本分页特效,textify是一个jQuery插件,可以自动创建一个有吸引力的和现代的你的内容布局,避免让用户不再枯燥的文本。
  分页
 32393  359

jQuery分页插件bs_pagination

bs_pagination是jQuery分页插件,基于Bootstrap。完全可配置的,响应网页设计。
  分页
 68538  425

讨论这个项目(34)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    阳光 0
    2019/6/12 17:38:40
    无法设置默认显示页数呀楼主 回复
    15779583130 0
    2018/9/21 9:13:11
    刷新后重新在第一页了,不能设置pageId啊 回复
    15779583130 0
    2018/9/20 23:03:34
    showPage的值传不过去啊,而且怎么加个首页和尾页 回复
    The Wind Rises 0
    2018/1/18 17:29:01
    $.ajax({
            url: '../../admin/adminInfoList',
            type: 'GET',
            dataType: 'json',
            success: function(result){
                console.log(result);
                getAdminListTable(result.row);
                getAdminListPager(result.totalRows);
            }
        }); 
    function getAdminListPager(totalCount){
        $('#totalCount').text(totalCount);
        $('#callBackPager').extendPagination({
            totalCount: totalCount,
            showCount: 10,
            limit: 10,
            callback: function (curr, limit, totalCount) {
                console.log(curr);
                $.ajax({
                    url: '../../admin/adminInfoList',
                    type: 'GET',
                    dataType: 'json',
                    data: {pageNo: curr},
                    success: function(result){
                        console.log(result);
                        getAdminListTable(result.row);
                    }
                });
            }
        });
    }

    我这样使用时不时刷新会出现报错啊,求解?

    报错为:Uncaught TypeError: $(...).extendPagination is not a function

    回复
    炽热 ?? 0
    2017/12/7 16:58:45

    怎么能写一个input框   里面填入数字就让他跳转到指定的页面呢?   大神求解

    回复
    征集Q名... 0
    2017/10/13 11:59:38

    展示选项数  配置项应该叫 showPage    不是  showCount,

    所以 index.html里有个问题(加粗的 showPage 为修改位置)

    $('#callBackPager').extendPagination({
        totalCount: totalCount,
        showPage: showCount,
        limit: limit,
        callback: function(curr, limit, totalCount) {
            createTable(curr, limit, totalCount);
        }
    });
    回复
    地方 0
    2017/7/11 13:08:24
    我在同一个项目里用了三次,但是后面那两个就报错了 回复
    地方 0
    2017/7/11 13:06:06
    请问这个可以在一个项目中多次使用吗? 回复
    罗毅 0
    2017/5/24 1:23:25
    用户1817450140 0
    2017/4/27 13:38:55

    第一次提交的时候后结果会闪一下然后全没了,大家有遇到这种情况么?

    回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复