Changes

JavaScript Window Object

1 byte added, 16:04, 9 May 2007
Referencing the JavaScript window Object
</pre>
The window object is the top-level object of the object hierarchy. As such, whenever an object method or property is referenced in a script without the object name and dot prefix it is assumed by JavaScript to be a member of the window object. This means, for example, that when calling the window ''alert()'' method to display an alert dialog the ''window.'' prefix is not mandatory. Therefore the following method calls achive achieve the same thing:
<pre>