html上一页 下一页,自定义上一页,下一页的js
自定义上一页的的js
var page= $("tr[tridx=0]","div.content-container").children().eq(0).html();
if(page==0)
{
this.setEnable(false);
}
else
{
window.location.href="http://localhost:8075/webroot/decision/view/report?viewlet=库存表2.cpt&page="+page;
下一页的js
var page= $("tr[tridx=0]","div.content-container").children().eq(1).html();
var total=$("tr[tridx=0]","div.content-container").children().eq(2).html();
if(parseInt(page) > parseInt(total))
{ this.setEnable(false); }
else
{
window.location.href="http://localhost:8075/webroot/decision/view/report?viewlet=库存表2.cpt&page="+page;
}
点上一页的时候提示

点下一页的时候直接空白

是不是路径有问题啊
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
