![]() |
VOOZH | about |
The HTML DOM Window frames property in HTML DOM is used to return the frame element in the form of an array object. This property represents all <iframe> elements in the current window. DOM Windowframe is a read-only property.
Syntax:
window.framesProperties:
Return Value: It returns a reference to the Window object, representing all the frames in the current window.
Example 1: In this example, we will see the number of iframe elements in the current window using window.length property.
Example 2: In this example, we will see the usage of window.frame[] property.
Supported Browsers: The browser supported by DOM Window Frames Property are listed below:
We have a Cheat Sheet on Javascript where we covered all the important topics of Javascript to check those please go through Javascript Cheat Sheet-A Basic guide to JavaScript.