function jump_to(){
var index = document.getElementById("inputPage").value;
if(!/^[0-9]+$/.test(index)){
alert("输入有误,请输入数字!");
}else{
window.location="newsDetailList.jsp?currentPage="+index;
}
}
var index = document.getElementById("inputPage").value;
if(!/^[0-9]+$/.test(index)){
alert("输入有误,请输入数字!");
}else{
window.location="newsDetailList.jsp?currentPage="+index;
}
}