Home  >  Q&A  >  body text

javascript - 有办法解决跨浏览器下监听iframe刷新的问题么?

有办法解决跨浏览器下监听iframe刷新的问题么?

页面上有一个iframe,iframe里有按钮,会进行一些操作,比如跳转,跳转之后我需要重新绑定一些事件,但是这些事件都是在父页面绑定的,我如何能知道iframe已经刷新?

莫非还是用定时器轮询检测iframe的url?

好吧,好像是YUI3对iframe的load事件处理有问题,自己排查去了

PHPzPHPz2721 days ago593

reply all(1)I'll reply

  • 数据分析师

    数据分析师2017-10-01 01:14:52

    javascript - Is there a way to solve the problem of monitoring iframe refresh across browsers? -PHP Chinese website Q&A-javascript - Is there a way to solve the problem of monitoring iframe refresh under cross-browser? -PHP Chinese website Q&A

    Let’s take a look and learn.

    reply
    0
  • Cancelreply