jquery.pagination分页是用的AJAX
我现在想用数据绑定控件实现 要怎么搞... function pageselectCallback(page_id, jq){
//$('#Searchresult').text("显示结果 "+((page_id*10)+1)+"-"+((page_id*10)+10));
window.location.href = "search.aspx?page=" + page_id + "&seach=" + seach;
} $(document).ready(function() { //$("#txt_counts").val()
$("#Pagination").pagination(300, {
first_text: "首页",
prev_text: "上一页",
next_text: "下一页",
last_text: "尾页",
ellipse_text: "...",
current_page: page,
items_per_page: 10,
num_edge_entries: 1,
num_display_entries: 2,
callback: pageselectCallback
});
});我这样做了之后选择对应的索引之后 他不进行缩进了
我现在想用数据绑定控件实现 要怎么搞... function pageselectCallback(page_id, jq){
//$('#Searchresult').text("显示结果 "+((page_id*10)+1)+"-"+((page_id*10)+10));
window.location.href = "search.aspx?page=" + page_id + "&seach=" + seach;
} $(document).ready(function() { //$("#txt_counts").val()
$("#Pagination").pagination(300, {
first_text: "首页",
prev_text: "上一页",
next_text: "下一页",
last_text: "尾页",
ellipse_text: "...",
current_page: page,
items_per_page: 10,
num_edge_entries: 1,
num_display_entries: 2,
callback: pageselectCallback
});
});我这样做了之后选择对应的索引之后 他不进行缩进了
http://download.csdn.net/source/2644207