Java Reference
In-Depth Information
Forms are made up of a <form> element that contains form controls such as input fields,
select menus, and buttons. The form can be filled in by a user and is then submitted to a
URL where it is processed on a server.
Each form control has an initial value that is specified in the HTML code and a current
value. The current value can be changed by a user entering information or interacting with
the form's interface (such as using a slider). Values in a form can also be changed dynamic-
ally using JavaScript.
When a form is submitted, it's sent to a server where the information is processed using a
“back end” language such as PHP or Ruby. It's possible to process the information in a form
on the “front end” before it is sent to the server using JavaScript, which is what we'll be
focusing on in this chapter.
Search WWH ::

Custom Search