更新时间:2023-11-26 21:01:28
来自jQuery文档:
From jQuery documentation:
注意:.live()和.delegate()方法不能用于检测iframe的load事件。 load事件没有正确地冒泡父文档,而且事件授权不需要Firefox,IE9或Chrome设置event.target。
http://api.jquery.com/load-event/
您是否可以提供有关您尝试做的更多信息,应该可以捕获事件,但不能使用iFrame加载。
Can you provide a little more information on what you're trying to do, it should be possible to catch the event but not by using iFrame load.