Availability: |
| ||||||
JavaScript syntax: | - | myGlobal = document.parentWindow | |||||
- | myGlobal = frame | ||||||
- | myGlobal = self | ||||||
- | myGlobal = window | ||||||
- | myGlobal = window.frames[anIndex] | ||||||
Argument list: | anIndex | A reference to a window object which is also a global object for that window | |||||
Object properties: | clientInformation, clipboardData, closed, crypto, defaultStatus, dialogArguments, dialogHeight, dialogLeft, dialogTop, dialogWidth, document, event, external, frame, frameRate, history, innerHeight, innerWidth, java, length, location, locationbar, Math, menubar, name, navigator, netscape, offScreenBuffering, opener, outerHeight, outerWidth, Packages, pageXOffset, pageYOffset, parent, personalbar, pkcs11, returnValue, screen, screenLeft, screenTop, screenX, screenY, scrollbars, secure, self, status, statusbar, sun, toolbar, top, window | ||||||
Class constants: | Infinity, NaN, undefined | ||||||
Object methods: | addClient(), addResponseHeader(), alert(), Array(), attachEvent(), back(), blob(), blur(), Boolean(), callC(), clearInterval(), clearTimeout(), close(), confirm(), Date(), debug(), deleteResponseHeader(), detachEvent(), disableExternalCapture(), enableExternalCapture(), escape(), eval(), execScript(), find(), flush, focus(), forward(), Function(), getOptionValue(), getOptionValueCount(), home(), isFinite(), isNaN(), moveBy(), moveTo(), navigate(), Number(), Object(), open(), parseFloat(), parseInt(), print(), prompt(), redirect, registerCFunction(), resizeBy(), resizeTo(), scroll(), scrollBy(), scrollTo(), setHotkeys(), setInterval(), setResizable(), setTimeout(), setZOptions(), showHelp(), showModalDialog(), showModelessDialog(), ssjs_generateClientID(), ssjs_getCGIVariable(), ssjs_getClientID(), stop(), String(), typeof(), unescape(), write() | ||||||
Functions: | atob(), btoa(), captureEvents(), handleEvent(), releaseEvents(), routeEvent() | ||||||
Event handlers: | onAfterPrint, onBeforePrint, onBeforeUnload, onBlur, onDragDrop, onError, onFocus, onHelp, onLoad, onMove, onResize, onUnload | ||||||
Collections: | frames[] |
The Global object is unique and is created before any code is executed. In an ECMAScript compliant implementation it is where variables, methods, functions and properties are stored if you don't explicitly attach them to another object yourself. The member properties, methods, functions, and variables are globally available because the Global object is placed into the scope chain of every execution context.
In a web browser, the Global object is also the Window object. In a server-side implementation, the Global object is probably the Response object but this is not mandatory. Other implementations will one of the host objects as the Global object but there is no defined and standard choice.
Since you don't ever use the keyword Global and can avoid using the keyword Window the properties and methods look as if they are part of the core language rather than members of an object. Web browsers are becoming more ECMAScript compliant as new versions are released.
The Global object is added to the scope chain of a program when it commences execution. Other built in objects are accessible as initial properties of the global object. Some of these are added as core functionality and are available in all implementations. Others are added as host objects defined differently for each implementation.
When the Global object is created, it always has at least the following properties:
Object object
Function object
Array object
String object
Boolean object
Number object
Date object
Math object
Value properties
Utility function properties
Additional host defined properties
Most of the properties initially provided by the Global object cannot be enumerated as their DontEnum attribute is set (at least in ECMA-compliant implementations).
The initial properties soon change and are added to when the flow of control enters execution contexts and begins to process scripts.
The value properties that are initially set up in the Global object are listed in this table:
Refer to the discussion on each of value properties for more details.
Some host implementations create aliases for the Global object and store those self referring aliases in the global object when it is initialized. An example of this behavior is the Window object created in some web browser host implementations of JavaScript.
There is one Global object for each window in a web browser. There is also one for each frame in a frame-set. This means that you can have Global objects that have global variables that are not shared with one another.
However, you can access them by referring to the parent object. This goes to an object context that contains the current frame. You can also access the top or outer window of a frame-set hierarchy directly.
Whether you can truly access objects in other windows or frames comes down to some basic security issues. Generally the security policy prevents access to code that arrives from different servers. You can legally get at values in pages served from the same host as your page was served from. It is unreasonable to be able to access variables in a page served from another host. This can lead to difficulties if you serve your site from multiple hosts. It isn't as limiting as all that though and there are ways to grant permission via the security policy in the browser.
Global objects support different sub-sets of the complete range of properties according to the context in which they are used. Server-side JavaScript won't support anything to do with window display and client side (browser) JavaScript does not need to know about request-response handling.
If you want to access a Global object in another context, perhaps in a different window, you need to assign it to a variable. In the syntax listing this is illustrated by assigning references to Global objects to the myGlobal variable.
You cannot use the Global object with the new operator to make a copy.
You cannot call the Global object as a function.
The value of the internal Prototype property of the Global object is implementation-dependent. Since it contains the Object object as one of its children, it could not inherit its Prototype from there since that could set up an endlessly recurring loop of Prototype inheritors. It is likely that the Prototype of the Global object is null. If it is important that you know the value of this, then you should test it with a debugging script first. However, you may be writing non-portable code if you depend on the value that it indicates.
In a web browser, the Window object serves as the Global object. It owns all the properties that you would expect the global object to have in a core implementation. The hosting environment adds the other window-based properties.
See also: | escape(), eval(), Infinity, isFinite(), isNaN(), NaN, parseFloat(), parseInt(), typeof, undefined, unescape(), Window object |
Property | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
---|---|---|---|---|---|---|---|---|---|---|---|
clientInformation | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
clipboardData | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
closed | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
crypto | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
defaultStatus | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
dialogArguments | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
dialogHeight | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
dialogLeft | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
dialogTop | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
dialogWidth | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
document | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
event | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
external | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
frame | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
frameRate | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
history | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
innerHeight | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
innerWidth | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
java | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
length | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
location | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
locationbar | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Math | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
menubar | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
name | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
navigator | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
netscape | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
offScreenBuffering | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
opener | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
outerHeight | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
outerWidth | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Packages | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
pageXOffset | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
pageYOffset | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
parent | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
personalbar | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
pkcs11 | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
returnValue | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
screen | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
screenLeft | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
screenTop | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
screenX | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
screenY | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
scrollbars | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
secure | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
self | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
status | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
statusbar | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
sun | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
toolbar | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
top | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
window | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Method | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
---|---|---|---|---|---|---|---|---|---|---|---|
addClient() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
addResponseHeader() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
alert() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Array() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
attachEvent() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
back() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
blob() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
blur() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Boolean() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
callC() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
clearInterval() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
clearTimeout() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
close() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
confirm() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Date() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
debug() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
deleteResponseHeader() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
detachEvent() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
disableExternalCapture() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
enableExternalCapture() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
escape() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
eval() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
execScript() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
find() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
flush | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
focus() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
forward() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Function() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
getOptionValue() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
getOptionValueCount() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
home() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
isFinite() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
isNaN() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
moveBy() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
moveTo() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
navigate() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Number() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Object() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
open() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
parseFloat() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
parseInt() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
print() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
prompt() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
redirect | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
registerCFunction() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
resizeBy() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
resizeTo() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
scroll() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
scrollBy() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
scrollTo() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
setHotkeys() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
setInterval() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
setResizable() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
setTimeout() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
setZOptions() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
showHelp() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
showModalDialog() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
showModelessDialog() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
ssjs_generateClientID() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
ssjs_getCGIVariable() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
ssjs_getClientID() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
stop() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
String() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
typeof() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
unescape() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
write() | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.0 ![]() | ![]() | ![]() | 2 ![]() | ![]() | ![]() | ![]() | ![]() |
Event name | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
---|---|---|---|---|---|---|---|---|---|---|---|
onAfterPrint | ![]() | 5.0 ![]() | ![]() | 5.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
onBeforePrint | ![]() | 5.0 ![]() | ![]() | 5.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
onBeforeUnload | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
onBlur | 1.1 ![]() | 3.0 ![]() | 3.0 ![]() | 4.0 ![]() | 3.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
onDragDrop | 1.2 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
onError | 1.1 ![]() | 3.0 ![]() | 3.0 ![]() | 4.0 ![]() | 3.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
onFocus | 1.0 ![]() | 3.0 ![]() | 2.0 ![]() | 4.0 ![]() | 3.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
onHelp | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
onLoad | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.02 ![]() | 3.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
onMove | 1.2 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
onResize | 1.2 ![]() | 3.0 ![]() | 4.0 ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
onUnload | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.02 ![]() | 3.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
ECMA 262 edition 2 - section - 10.1.5
ECMA 262 edition 2 - section - 15
ECMA 262 edition 3 - section - 10.1.5
ECMA 262 edition 3 - section - 15.1
Prev | Home | Next |
Global code | Up | Global.undefined |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |