Jak uzyskać element w iframe za pomocą JavaScript
const iframe = document.getElementById("myIframe");
const iWindow = iframe.contentWindow;
const iDocument = iWindow.document;
// accessing the element
const element = iDocument.getElementsByTagName("p")[0];
element.style.color = "green";
Thoughtful Turtle