javascript document frames[ ]

frames[ ] NN n/a IE 4 DOM n/a

 

Read-only

Returns an array of all iframe objects (iframe element objects, not to be confused with window-like frame objects) in the current document. Items in this array are indexed (zero-based) in source code order. For cross-compatibility with IE 5 and later and Netscape 6, use document.getElementsByTagName("iframe") instead.

 
Example
 
var iframeCount = document.frames.length;
 
Value

Array of iframe objects.

 
Default

Array of zero length.

 


553,Nickname,Homepage or email,Comments here,Add comment