I have a very simple setup with an IFrame:
var doc = frame.contentDocument ? frame.contentDocument : frame.contentWindow.document;
The first alert works just like it should, but the second doesn't appear (and all further execution stops). There is no single property or element of the contentDocument i can reach. Can anyone help me to figure out the problem?