使用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


使用submit

使用form表单创建一个只有submit按钮的表单,单击提交即可

<form action="URL" name="表单名" method="get">
	<table><td colspan="2"><input type="submit" value="注册"></td></table>--%>
 </form>

相关文章:

  • 2021-11-18
  • 2021-12-27
  • 2022-12-23
  • 2022-02-07
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2021-08-18
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案