CHAPTER 7

image

JavaScript and User Interaction: Navigation and Forms

In this chapter, I will talk about two more common uses of JavaScript: navigation and forms. Both involve a lot of user interaction and therefore need to be planned and executed thoughtfully. The success of a web site stands and falls with the ease of its navigation, and there is nothing more frustrating on the Web than a form that is hard to use or impossible to fill out.

image Note  This chapter consists of a lot of code examples, and you will be asked to open some of them in a browser ...

Get Beginning JavaScript with DOM Scripting and Ajax, 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.