In Chapter 3 I explained the mechanics of the JavaScript language. In the remaining chapters of this book, I’ll demonstrate how to embed JavaScript in your HTML document. You will be using JavaScript extensively so you might want to review Chapter 3 if this is fairly new to you. In the next two chapters, I’ll explain the operating environment that the web page will be hosted in. The browser provides quite a lot of functionality that can be manipulated through JavaScript.
Browser Object Model
The facilities provided by the browser, starting with the window object, ...