O'Reilly logo

Pro JavaScript™ Techniques by John Resig

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 8Improving Forms

Forms exist as a means through which structured data can be received from a user, and therefore are immensely useful to a web developer. Inherently, however, there exist very few restrictions upon what a user can do with a form, what data he can enter, or how usable the form is.

It is at this stage of the development, after you've already constructed a semantically designed form, that it comes time to add some JavaScript to provide additional feedback to the user. With the knowledge of how or why something may happen within a form, the user will be able to move through it faster, and subsequently will have a better user experience.

In this chapter you're going to look at performing basic client-side form validation and ...

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