JavaScript Help: How to access parent elements from a child window or frame This example shows how to use JavaScript to access parent elements from within a child, and vice versa. I'll demonstrate how to get or set a value in the child, from the parent, or in the parent, from the child. The trick is getting a reference to the target container, and then knowing enough about the DOM in that target t