TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX