I am using a third party library that mandates an iframe with some id, say "x", to load content from their site. And once the content is loaded, the HTML that comes from their site contains a div with the same id - "x". I can not change the iframe id because they need it that way and I have no control over the div's id. How can get to the iframe using native javascript? Will document.getElementById("x") always return the iframe because that's the first element in the dom?
Thanks for the help.