经常有嵌套的iframe的内容无法及时刷新,需要手动刷新,这时候就需要获取iframe,然后调用对象的reload,

document.getElementById(iframe的id).contentWindow.location.reload(true).    内嵌页面可刷新内容。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2021-12-05
  • 2021-12-03
  • 2021-11-26
猜你喜欢
  • 2021-10-01
  • 2021-05-17
  • 2021-12-31
  • 2022-01-11
  • 2021-05-11
  • 2021-05-29
  • 2021-12-26
相关资源
相似解决方案