Lesson 19. Using JavaScript in Your Pages

Now that you have some understanding of what JavaScript is all about, you’re ready to look at some practical applications of JavaScript.

In this lesson, you’ll learn how to complete the following tasks:

Image Validate the contents of a form

Image Create a list that expands and collapses

Image Add new content to a web page

Validating Forms with JavaScript

Remember the sample form that you created back in Lesson 12, “Designing ...

Get Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day, Covering HTML5, CSS3, and jQuery, Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.