asp.net.ph

Skip Navigation Links

self Property

Language References


Retrieves the current window or frame.

Syntax


HTML N/A
Script [ oSelf = ] window.self

Possible Values


oSelf Current window or frame.

The property is read-only with no default value.

Remarks

The property provides a way to explicitly refer to the current window or frame.

Use the self property to distinguish a window property from a form of the same name. You can also use the self property to make your code more readable by making implicit window references explicit.

Applies To

window



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note