WHAT'S IN THIS CHAPTER?
- Understanding form basics
- Text box validation and interaction
- Working with other form controls
WROX.COM DOWNLOADS FOR THIS CHAPTER
Please note that all the code examples for this chapter are available as a part of this chapter's code download on the book's website at
Web forms are represented by the
<form> element in HTML and by the
HTMLFormElement type inherits from
HTMLElement and therefore has all of the same default properties as other HTML elements. However,
HTMLFormElement also has the following additional properties and methods:
acceptCharset—The character sets that the server can process; equivalent to the HTML
action—The URL to send the request to; equivalent to the HTML
HTMLCollectionof all controls in the form.
enctype—The encoding type of the request; equivalent to the HTML