Javascript Reference
Categories: window

javascript window frames[ ]

@March 15, 2008, 1:22 a.m.
frames[ ]Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a  

Read-only  

Returns a collection (array) of window objects that are implemented as frames or iframes in the current window. For a frameset's parent or top window, the array contains references to first-generation frame windows. Index values can be zero-based integers (in source code order) or the identifier assigned to the name attribute of the frame element.

 
Example
 
parent.frames[1].myFunc( );
 
Value

Array of frame (window) object references.

 
Default

Array of length zero.


Powered by Linode.