Chapter 10. The Browser Environment
You know that JavaScript programs need a host environment. Most of what you learned so far in this book was related to core ECMAScript/JavaScript and can be used in many different host environments. Now, let's shift the focus to the browser as this is the most popular and natural host environment for JavaScript programs. In this chapter, you will learn the following topics:
The Browser Object Model (BOM)
The Document Object Model (DOM)
Browser events
The
XMLHttpRequest
object