日期:2014-05-16 浏览次数:20380 次
var newHTML = "<p><a href=\"#\" onClick=\"javascript:return showRecord(1,100);\">首页</a> <a href=\"#\" onClick=\"javascript:return showRecord("+(currentPageNo-1)>0?(currentPageNo-1):1+",100);\">上一页</a> | <a href=\"#\" onClick=\"javascript:return showRecord("+(currentPageNo+1)>((totalRecords+pageSize-1)/pageSize)?currentPageNo:((totalRecords+pageSize-1)/pageSize)+",100);\">下一页</a> <a href=\"#\" onClick=\"javascript:return showRecord("+((totalRecords+pageSize-1)/pageSize)+",100);\">最后一页</a> </p>";
3.24,100);">下一页 最后一页
var newHTML = "<p><a href=\"#\" onClick=\"javascript:return showRecord(1,100);\">首页</a> <a href=\"#\" onClick=\"javascript:return showRecord("+((currentPageNo-1)>0?(currentPageNo-1):1)+",100);\">上一页</a> | <a href=\"#\" onClick=\"javascript:return showRecord("+((currentPageNo+1)>((totalRecords+pageSize-1)/pageSize)?currentPageNo:((totalRecords+pageSize-1)/pageSize))+",100);\">下一页</a> <a href=\"#\" onClick=\"javascript:return showRecord("+((totalRecords+pageSize-1)/pageSize)+",100);\">最后一页</a> </p>";