O'Reilly logo

The JavaScript Programming Language by John David Dionisio, Ray Toal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

chapter 5

Interaction

Thus far, your scripts have communicated with their users exclusively via prompt when requesting input and via alert when displaying output. As with any language, user interaction with JavaScript can be accomplished in other ways; of these, the most popular by far is the Web. Now that you are better acquainted with the language, we can discuss web page interaction more effectively.

Because JavaScript and the Web are very tightly coupled in most people's minds, you might have expected a chapter such as this to appear sooner in the book. We have purposely delayed discussing web technologies to this point because we believe that maximizing JavaScript's potential with the Web involves understanding JavaScript as a programming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required