1.在当前页面打开新链接

<select onchange="location.href=this.options[this.selectedIndex].value" name="" ></select>

option的value里面要写好新链接的地址

2.在新窗口打开新链接

<select onchange="window.open(this.options[this.selectedIndex].value)" name="select"></select>



相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-11-25
  • 2021-11-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2021-12-02
相关资源
相似解决方案