日期:2014-05-17 浏览次数:20928 次
<SCRIPT type="text/javascript">
function fenye(num){
var currPage = document.getElementById('page').value;
var reqPage = currPage + num;
// 后台请求数据
}
</SCRIPT>
<form>
<input type="hidden" name="page" value="${page}">
...
<input type="button" name="button1" value="上一页" onclick="fenye(-1)'"/>
<input type="button" name="button2" value="下一页" onclick="fenye(1)" >
</form>
</BODY>