onclick事件存在事件冒泡 所以要阻止它冒泡

 解决:在onclick事件里添加return false阻止冒泡:onclick="window.location.href='XXXXX.do';return false;"  前提是在form外

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-06-05
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2021-10-18
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案