Window Object
The frames property returns an array of all the frames (including iframes) in the current window.
Tip: Use frames.length to find the number of frames.
![]()
The frames property is supported in all major browsers.
Find the number of frames on a page, and change the src property of every frame element to "w3schools.com":
Window Object
Your message has been sent to W3Schools.