I've a page with multiple iframes. I want to proceed only when DOM of all the iframes is ready.
I've read here all the solutions. But all talk about using jQuery.load or onload property which waits to download everything like CSS, Images etc which I don’t want.
What is the way to do it?
I don't have access to the Iframes as I'm using Google Chrome Extension content script for automation
As of now I'd not like to use this method:
$(document).ready(function () {
$("#frame1").load(
function () {
$("#frame2").load(function () {
console.log("Loaded both frame1 & 2");
});
}
);
});