Visit Mozilla.org

DOM:window.name

From MDC

« Gecko DOM Reference

Contents

[edit] Summary

Gets/sets the name of the window.

[edit] Syntax

string = window.name
 window.name = string

[edit] Example

window.name = "lab_view";

[edit] Notes

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

[edit] Specification

DOM Level 0. Not part of specification.