Chapter 16. Applied JavaScript

In the previous chapters in this book, you've seen how to use dozens of JavaScript techniques to accomplish many specific tasks. On many Web pages that you build, you'll often need just one technique, and you'll be able to use a script from this book (usually with some minor modifications) to get the job done.

But sometimes you'll need to use more than one technique to get the job done on your pages. That's where this chapter comes in. The tasks you'll find here require a variety of approaches and are similar (in spirit, if not specifically) to what you'll need to do on your own Web sites.

In this chapter, you'll learn to minimize the amount of code you use throughout a site; combine two scripts you've seen in previous ...

Get Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.