O'Reilly logo

jQuery for Designers : Beginner's Guide - Second Edition by Natalie MacLees

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

Time for action – validating form values on the fly

We'll continue working with the form we've been creating through the last three sections. Perform the following steps to validate user entry into the form:

  1. The first thing we'll do is download the Validation plugin and get it attached to our page.

    Head over to http://jqueryvalidation.org/ and click on the Download button in the Files section to download a ZIP file.

  2. Open up the ZIP file and take a look at what we've got.

    There's a lot going on here—there are several different JavaScript files, some demos, a change log, and so on. Remember how I said this plugin is powerful and can handle lots of different approaches to validation? That's what all this is for—handling form validation in just about ...

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