Chapter 11
Window Object
Key Skills & Concepts
    Window: The Global Object
    Using the Properties of the Window Object
    Using the Methods of the Window Object
    Opening New Windows
image
The JavaScript window object gives you access to more properties and methods you can use in your scripts, and serves as the global JavaScript object in Web browsers. In this chapter, you will see how it works as the global object, and learn to use a number of its properties and methods.
Window: The Global Object
The window object is created for each window that appears in the browser. A window can be the main window, a frame set or individual frame, a tab, ...

Get JavaScript: A Beginner's Guide, Fourth Edition, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.