HOUR 11:Getting Data with Forms
What You’ll Learn in This Hour:
• Understanding HTML forms
• Creating a form
• Using the form
object to work with forms
• How form elements are represented by JavaScript
• Getting data from a form
• Sending form results by email
• Validating a form with JavaScript
In this hour, you’ll explore one of the most powerful uses for JavaScript: working with HTML forms. You can use JavaScript to make a form more interactive, validate data the user enters, and enter data based on other data.
The Basics of HTML Forms
Forms are among the most useful features of the HTML language. As you’ll learn during this hour, adding JavaScript to forms can make them more interactive and provide a number ...
Get Sams Teach Yourself JavaScript in 24 Hours 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.