页面刷新问题
我用jscript判断用户是否登陆成功,如果成功,就让页面过3秒自动跳转
这样写出错,用jscript要怎么写啊
<%Response.Write( <meta content=\ "3; url=../index.aspx\ " http-equiv=\ "refresh\ " /> )%>
------解决方案-------------------- <script language= "javascript " type= "text/javascript ">
function redir()
{
window.location.href = "../index.as ";
}
window.setTimeout( "redir() ", 3000);
</script>