opener Property

Internet Development Index

Sets or retrieves a reference to the window that created the current window.


window.opener [ = sWindow ]

Possible Values

sWindowVariant that specifies or receives the window reference.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.


The opener property is available only for frame and iframe pages.

Standards Information

There is no public standard that applies to this property.

Applies To