What is the window object?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the window object?
Rating:
The window object has the unique position of being at the top of the JavaScript object hierarchy. It can be used to access the URL of the window by using its location property, or it can access the content of the window by using its document property. Since all actions are performed in the window, the window object reference is usually omitted.
For example, if a script author wants to open an alert dialog box, he can use either the alert method or window.alert().
Rating:
Was this information helpful?
Other articles
- What is the blink method?
- How to create an external script file?
- What is the selectedIndex property?
- What is the add by value operator?
- What is the open method?
