This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

frameElement

Property of dom/HTMLElementdom/HTMLElement

Syntax

var result = element.frameElement;
element.frameElement = value;

Examples

The following example retrieves the frame element of the window and sets its source URL to Microsoft Developer Network (MSDN) Online.

<SCRIPT LANGUAGE="JScript">
    var oFrame = window.frameElement;
    oFrame.src = "http://msdn.microsoft.com";
</SCRIPT>

Notes

Remarks

The window must be a frame or iframe.

Syntax

See also

Related pages

  • window

Attributions