TOC PREV NEXT INDEX

domref



window.name


Gets/sets the name of the window.

Syntax

sName = window.name
 
window.name = sName
 

Parameters

name is a string.

Example

window.name = "lab_view";
 

Notes

The name of the window is used primarily for setting targets for hyperlinks and forms. Windows do not need to have names.

See also window.name.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX