按钮式:
onClick="location.href='http://www.ddhbb.com/'">
链接式:
href="javascript:history.go(-1)">返回上一步
href="">返回上一步
直接跳转式:
开新窗口:
onClick="window.open('http://www.ddhbb.com/blog
/guestbook.asp','','height=500,width=611,scrollbars=yes,status=yes')"&
gt;布丁足迹
JS跳转页面参考代码
第一种:
window.location.href="login.jsp?backurl="+window.location.href;
第二种:
alert("返回");
window.history.back(-1);
第三种:
window.navigate("top.jsp");
第四种:
self.location=’top.htm’;
第五种:
alert("非法访问!");
top.location=’xx.jsp’;
=====javascript中弹出选择框跳转到其他页面=====