Question: Do the iframe contents come from the SAME DOMAIN as your main page? If not, nothing you can do will get the contents, as cross-domain scripting is not allowed (with a couple of very limited exceptions that only apply if you "own" the code used in both domains).
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.