Sets or retrieves the frame name.
Syntax
| HTML | <element name="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
an arbitrary name used to identify the object.
Remarks
The name property identifies which frame displays the content of a linked document.
Examples
This example uses scripting to set the name property of a frame.
parent.frames[0].name="Left";
This example shows how the name attribute for a window can be persisted in HTML, but only when defined in a frame within a frameSet
<frameset> <frame name="Left" src="blank.htm"> <frame name="Right" src="contents.htm"> </frameset>
See also
Build date: 11/28/2012