Change the background-color of an <iframe> element's parent document:
The parent property returns the parent window of the current window.
This property is read-only.
Property | |||||
---|---|---|---|---|---|
parent | Yes | Yes | Yes | Yes | Yes |
Return Value: | The parent window object of the current window |
---|
Alert the location of the parent window when opening a new window: