I'm wondering, where the script interpretation starts in a document with an iframe, that contains another document, with "<header><script>"
or possibly "<body><script>"
. I just really need to ensure that the execution happens in the "outer" document before the iframe document, but it seems that it is random, is that right ?
BTW, what about the order of interpretation of referenced javascripts ? Does it depend on "where" in the document I reference it ?