小光网络技术博客

介绍和研究搜索引擎优化、SEO、asp、asp.net、php、jsp技术

« 鼠标on事件大全在ASP.NET中实现AJAX 1 »

JS页面跳转

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

  链接式:

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

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

  直接跳转式:

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

  开新窗口:

  <a href="javascript:" onClick="window.open('http://www.it314.com/','','height=500,width=611,scrollbars=yes,status=yes')">小光网络技术博客</a>

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Sam

Copyright 2007-2008 小光. Some Rights Reserved.