O'Reilly logo

Modern JavaScript: Develop and Design by Larry Ullman

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

10. Working with Forms

Forms are integral to the usefulness of the Web as they provide the primary interface for user interaction. In this book, forms have been used heavily ever since Chapter 2, JavaScript in Action, but this chapter is going to complete the coverage of the subject. To start, there are some more general form issues, but the meat of the chapter goes through aspects of using the various form element types. That section of the chapter will be more like a recipe book, with explicit code for performing specific tasks. The chapter concludes with a discussion of regular expressions. Although they aren’t exclusive to forms, regular expressions are often used to validate textual form data, and you’ll see exactly how.

General Form Considerations ...

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