How Do I Loop Through Different Iframes?
I am stuck on how to load one iframe and have the next one queuing to be displayed. How would I write a script that loops through different iframes after time?
Solution 1:
for (var i=0;i<self.frames.length;i++) {
var buttons = self.frames[i].document.getElementsByTagName("button");
// Do stuff with buttons
}
Hope it will do your work
Post a Comment for "How Do I Loop Through Different Iframes?"