Java Reference
In-Depth Information
Chapter
8
Forms
Forms are the most common method of interacting with a web page. A form is the main
component of Google's home page, and most of us use forms every day to log into our favor-
ite sites. In this chapter, we will look at how forms can be used to interact with a JavaScript
program.
In this chapter, we'll cover these topics:
• form controls
• accessing form elements
• form properties and methods
• form events
• submitting a form
• retrieving and changing values from a form
• form validation
• our project―add a form for answering questions and validation
Search WWH ::




Custom Search