我正在使用pajinate()j查询插件来分页我的结果。但它总是在分页div上显示1个额外计数,例如:
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'
});
}