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:
Validate the contents of a form
Create a list that expands and collapses
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, 7th 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.