This is the iframe I\'m trying to access:
if you have only 1 iframe you can also find it with window.frames[1] or document.getElementsByTagName('iframe')[0]
(In the first option, the parent window is #0)