分页的实现:
aspx::::::
<body>
<div class="mui-content">
<ul class="mui-table-view mui-table-view-striped mui-table-view-condensed" id="readdata">
</ul>
</div>
<div class="mui-content-padded">
<ul class="mui-pager">
<li class="mui-previous">
<a href="#" onclick="shangyiye()">上一页
</a>
</li>
<li class="mui-next" onclick="xiayiye()">
<a href="#">下一页
</a>
</li>
</ul>
</div>
</body>
</html>
<script src="../js/jquery-1.8.3.js"></script>
<script src="../mobile_web/Interface_WeChat/WeChatConnection.js"></script>
<script type="text/javascript">
var page = 1;
get_jigou_chaoshi_data_center(page.toString(), "0", '<%=this.orgid%>');
function shangyiye() {
if (page <= 0) {
page = 2;
}
var val = page -= 1;
get_jigou_chaoshi_data_center(val.toString(), "0", '<%=this.orgid%>');
}
function xiayiye() {
var val = page += 1;
get_jigou_chaoshi_data_center(val.toString(), "0", '<%=this.orgid%>');
}
</script>