Window JavaScript Tutorial

Syntax

window.frames["frameName"].length
    window.frames[num].length
The length property contains the number of frame instances in a document created with the tag.