页面跳转

来源:互联网 发布:tensorflow下载安装 编辑:程序博客网 时间:2024/05/02 18:27

  按钮式:

  <INPUT name="pclog" type="button" value="GO" onClick="location.href='http://www.sina.com'">

  链接式:

  <a href="javascript:history.go(-1)">返回上一步</a>

  <a href="<%=Request.ServerVariables("HTTP_REFERER")%>">返回上一步</a>

  直接跳转式:

  <script>window.location.href='http://www.sina.com';</script>

  开新窗口:

  <a href="javascript:" onClick="window.open('http://www.sina.com','','height=500,width=611,scrollbars=yes,status=yes')">新浪网</a>

 
原创粉丝点击