Chapter 14
JavaScript and Forms
Key Skills & Concepts
• Accessing Forms
• Using the Properties and Methods of the Form Object
• Ensuring the Accessibility of Forms
• Validating Forms
• HTML5 and Forms
When you use JavaScript to access forms, you can create new scripts for your Web pages. This chapter begins by explaining how to access a form with JavaScript. Then you’ll learn about the various properties and methods to use with forms and form elements. You’ll also learn about forms and accessibility, how to validate form elements, and how to use <select></select> elements as navigational tools.
Accessing Forms
Each time you add ...
Get JavaScript: A Beginner's Guide, Fourth Edition, 4th 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.