1结果中显示额外计数

时间:2015-04-06 11:48:34

标签: jquery jquery-plugins pagination jquery-pagination

我正在使用pajinate()j查询插件来分页我的结果。但它总是在分页div上显示1个额外计数,例如:Error

function DisplayLawyerData(lawyers) {
        if (!lawyers)
            return;
   var source = $("#Lawyerrowtemplate").html();
        var template = Handlebars.compile(source);

        var html = template(lawyers);
        $("#rec").show();
        $("#rec").append(html);
        $('#Records').pajinate({
            num_page_links_to_display: 10,
            items_per_page: 10,
       nav_panel_id: '.alt_page_navigation'
        });
    }

0 个答案:

没有答案