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
Microsoft Developer Network: [Windows Internet Explorer API reference Article]