Chapter 4 Client-Side Scripting

The first three chapters of this book introduced you to JavaScript, exposed you to its semantics, and covered several programming techniques to help you get started. In Part II, “Programming in JavaScript,” we are going to cover the environments in which JavaScript is interpreted, including the client-side, server-side, and in the Windows Script Host environment.

In this chapter specifically, you will look at several aspects of the language. We’ll look at how the browsers interpret JavaScript, how to deal with some of the issues that surround browsers, and how they handle the scripts—issues such as bugs and differences in functionality.

Later, you will look at how JavaScript can extend a browser’s functionality. ...

Get Pure JavaScript, Second 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.