我卡在如何加载一个 iframe 并让下一个 iframe 排队显示。我将如何编写一个在一段时间后循环遍历不同 iframe 的脚本?
最佳答案
for (var i=0;i<self.frames.length;i++) {
var buttons = self.frames[i].document.getElementsByTagName("button");
// Do stuff with buttons
}
希望它能完成你的工作
关于javascript - 如何循环遍历不同的 iframe?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5040901/