方法1:
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.sina.com.cn">
</head>
</html>方法2:
<script type="text/javascript">
window.location.href="http://www.sina.com.cn/";
</script>
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.sina.com.cn">
</head>
</html>方法2:
<script type="text/javascript">
window.location.href="http://www.sina.com.cn/";
</script>
解决方案 »
- 倒计时程序中new Date()的参数如何实现从数据库中获取
- extjs中的怪问题
- 哪位大哥知道options.unshift()方法怎么用啊,请赐教啊,在线等
- 关于表格的问题。谢谢
- 搜狐企业邮箱中的调用代码
- innerHTML,浏览器问题?急急急!
- (高分)求教:有没有JScript排版软件?光看到扰码软件,有矛就该有盾啊!
- 急:弹出窗口被屏蔽了怎么办?
- 怎么用程序模拟一个表单的提交(不要用submit)?
- 以resizeable=no打开的窗口要恢复为resizeable=yes,怎么办?
- 求一个radiobutton被选中,使一个textbox的enable为false的脚本?
- 传递参数时如何传有空格的参数?
<meta http-equiv="refresh" content="0;url=你要去的网页">还可以在文件中加上一句:
<%
Response.Redirect("你要去的网页")
%>
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.sina.com.cn">
</head>
</html>方法2:
<script type="text/javascript">
window.location.href="http://www.sina.com.cn/";
</script>