July 1998
Intermediate to advanced
1456 pages
65h 5m
English
name — NN 2 IE 3 DOM 1
Read/Write
The identifier associated with a frame or subwindow for use as the
value assigned to TARGET attributes or as script
references to the frame/subwindow. For a frame, the value is usually
assigned via the NAME attribute of the
FRAME tag, but it can be modified by a script if
necessary. The name of a subwindow is assigned as a parameter to the
window.open( ) method. The primary browser window
does not have a name by default.
if (parent.frames[1].name == "main") {
...
}Case-sensitive identifier that follows the rules of identifier naming: it may contain no whitespace, cannot begin with a numeral, and should avoid punctuation except for the underscore character.
None.
Read now
Unlock full access