js实现页面刷新和跳转(指定时间)
第一种:
setTimeout(aa,1000*10); //10s后页面跳到指定的页面 function aa(){ window.location.href="${isTypeS}"; //${isTypeS} 地址 可以是当前页面,也可以是其他页面地址 }
第二种:
<meta http-equiv=refresh content="60;url=xsqj_qj.jsp" >
//60秒后跳到xsqj_qj.jsp