有没有办法在同一页面上的 iframe
完全加载时触发函数。
最佳答案
尝试 onload
事件
例子:
document.getElementById('ifrm').onload = function() {
// put your code here
}
关于javascript - 当 iframe 完全加载时触发函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28180414/