onclick跳转

☆如果是本页显示可以直接用location,方法如下:

  ①onclick="javascript:window.location.href='URL'"
  ②onclick="location='URL'"
  ③onclick="window.location.href='URL?id=11'"
如果页面中有frame可以将在location前面添加top.mainframe.frames['right_frame'].location
posted @ 2013-07-19 10:06  哈达波斯网络  阅读(171)  评论(0编辑  收藏  举报