eliminator

html按钮button怎么加超链接

1.如果让本页转向新的页面则用:
<input type=button onclick="window.location.href(\'连接\')">

2.如果需要打开一个新的页面进行转向,则用:
<input type=button onclick="window.open(\'连接\')">
发表于 2008-11-07 16:10  葵花子  阅读(1392)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2022-01-02
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2021-12-23
  • 2022-01-02
  • 2021-08-25
  • 2021-09-12
  • 2021-07-16
相关资源
相似解决方案