const iframe = document.querySelector("#MyFrame");
iframe.onload = () => {
const target = iframe.contentDocument.querySelector("*selector*");
target.style.height = "100%";
}
const iframe = document.querySelector("#MyFrame");
iframe.onload = () => {
const target = iframe.contentDocument.querySelector("*selector*");
target.style.height = "100%";
}
const iframe = document.querySelector("#MyFrame");
console.log(iframe.contentDocument);
console.log(iframe.contentWindow);
iframe.onload = () => {
const target = iframe.contentDocument.querySelector("*selector*");
target.style.height = "100%";
}
const iframe = document.querySelector("#MyFrame");
console.log(iframe.contentDocument);
console.log(iframe.contentWindow);
iframe.onload = () => {
const target = iframe.contentDocument.querySelector("*selector*");
target.style.height = "100%";
}
const iframe = document.querySelector("#MyFrame");
console.log(iframe.contentDocument);
console.log(iframe.contentWindow);
iframe.onload = () => {
const target = iframe.contentDocument.querySelector("*selector*");
target.style.height = "100%";
}
console.log("IM HEREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE");
const iframe = document.querySelector("#MyFrame");
console.log("IM HEREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE");
console.log(iframe.contentDocument);
console.log(iframe.contentWindow);
iframe.onload = () => {
const target = iframe.contentDocument.querySelector("*selector*");
target.style.height = "100%";
}