JS刷新父页面

Response.Write("<script>window.location.href = window.location.href</script>");

刷新本页Response.Write("<script>window.location.href=window.location.href; </script>");

刷新父页和本页面:

Response.Write("<script>alert('提交成功!');window.location.href=window.location.href;window.opener.location=window.opener.location;</script>");

posted on 2008-12-23 15:34  Shorty  阅读(364)  评论(0)    收藏  举报

导航