How to refer to a component inside an IFRAME is showed in this reply. It works under the assumption that there’s only one IFRAME (or that we are certain that the zero-th will suffice). However, I wonder how to identify the actual IFRAME I’d like to poke.
I need the syntax for changing:
window.frames[0].document. + my stuff
into something like:
window.frames["theIdOfMyIFrame"].document. + my stuff
but I can’t get it right.
You can refer to the embedded components like this.