August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.document
The document property of the Frame object contains information about the current document. The document property is created by the HTML <body> tag and is available in every Frame or Window object. The document property is used to access other aspects of the HTML document.
Listing 7.272 shows how the document property can be used to access document elements within a specific frame. For a more detailed example, see window.document.
<script language="JavaScript">
<!-- Hide
function getName(){
var name = framename.document.elements[1].name;
}
// End Hide --->
</script>
|
Read now
Unlock full access