I want to search the DOM for a form with property name = "formName"
.
i've tryed with document.querySelectorAll("[name = formName]")
but it only works when I inspect the elemnt and then type it on the console.
It looks like I have two IFrames on the page under the so-called "top".
How can I search for the specific element regardless of the selected file?
Or at least from "top".