Javascript页面跳转常用代码(测试通过)
按钮式:
<input name="pclog" type="button" value="GO" onClick="location.href='http://www.w3school.com.cn/'">
链接式:
<a href="javascript:history.go(-1)">返回上一步</a>
开新窗口:
<a href="javascript:" onClick="window.open('http://www.w3school.com.cn/','','height=500,width=611,scrollbars=yes,status=yes')">w3school</a>