方法虽然简单,但是经常忘记,网上一查,很多方法兼容性都有问题,这段代码至少兼容IE和Chrome

setInterval(function(){ document.getElementById('mainFrame').contentWindow.document.getElementById("btnSearch").click();},10000);

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-11-12
  • 2022-01-22
猜你喜欢
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2021-04-11
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
相关资源
相似解决方案