第一页上一页1下一页最后一页共1页跳转到页 function redirectPage_(inputID){ var inputValue = document.getElementById(inputID).value; if(!(/^\d+$/).test(inputValue)){ document.getElementById(inputID).value = '1'; return; } if(inputValue <= 0) { inputValue = 1; } if(inputValue > 1) { inputValue = 1; } location.href = '/CampusRecruitment/list.aspx?page={$wtl_pager}'.replace('{$wtl_pager}', inputValue); }