宝山区
var totalPage = $("#totalPage").val(); if(!isNaN(jumpPageNum) && $.trim(jumpPageNum)!="" && $.trim(jumpPageNum).length > 0){ if(jumpPageNum<1){ jumpPageNum=1; }else if(jumpPageNum>totalPage){ jumpPageNum=totalPage; } var jumpUrl = url + jumpPageNum + ".shtml"; window.location.href=jumpUrl; } }