Javascript call function in parent frame from child iframe

Just use parent.functionName()

If the child iframe is not in the same server as the parent frame you will get cross scripting error as described below

Unsafe JavaScript attempt to access frame with URL from frame with URL

No comments:

Post a Comment

NO JUNK, Please try to keep this clean and related to the topic at hand.
Comments are for users to ask questions, collaborate or improve on existing.