日期:2014-05-16  浏览次数:20329 次

jquery的导航页面13(nodeDocPage.jsp续)
else {
            $('#pageBarBottom').pagination({
                total:doc_total,
                onSelectPage:function(pageNumber, pageSize){
                    $(this).pagination('loading');
                   
                    $("#product_doc_table_body").html("");
                    $("#product_doc_table_body").append("<tr><td colspan='4'><img width='12' height='12' src='/support/images/NavigationBar/loading.gif'> loading...</td></tr>");
                   
                    $.getJSON(
                        root_url + "pages/navigation/gotoKBNavi.do?actionFlag=getCurPageDocs&d=" + (new Date()).getTime() + "&colID=<%=colID%>&"
                         + $("#selectDictForm").serialize()+ "&itemId="+$(node).attr("id")+"&level_id="+$(node).attr("level")
                         +"&pageIndex="+pageNumber+"&pageSize="+pageSize,
                         function(data) {updatePageDocs(node, data, false);});
                    $("#pageSize").val(pageSize);
                    $(this).pagination('loaded');
                     //改变上面的分页bar
                    $('#pageBarTop').pagination({
                        pageNumber:pageNumber,
                        pageSize:pageSize
                    });
                }
            });
            $('#pageBarTop').pagination({
                total:doc_total,
                onSelectPage:function(pageNumber, pageSize){