O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The form Object

The XHTML form object is the primary way for Web pages to solicit different types of input from the user. JavaScript will often work along with XHTML forms to perform its functions. The object model for XHTML forms includes a wide variety of properties, methods, and events. If you use these with each form, JavaScript can manipulate and access those forms.

form Object Properties

Tables 19.4, 19.5, and 19.6 show some of the properties, methods, and events attached to XHTML form objects. These can be used in JavaScripts—the properties and methods can be used to access or manipulate information and to perform certain functions, and the events can be used to trigger JavaScript functions related to the form itself. If a form is named ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required