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;

}

点上一页的时候提示

9b9fe2f8b96997e990ee4388ff336ee0.png

点下一页的时候直接空白

51d90ee624fe195bb933fd28114f97b9.png

是不是路径有问题啊


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

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部