Form

The form object reflects the fucntionality of the Html FORM element, which is used to encapsulate form objects such as reset and submit buttons, radio buttons, and checkboxes. The form object is accessed most commonly through the use of the forms[n] collection, as this clears up any of the geusswork when working with more than one instance of a FORM element within the document.

DOM Reference

Internet Explorer

window.document.formName
window.document.forms[n]
window.document.form["formName"]
window.document.all.elementID

Netscape Navigator

window.document.formName
window.document.forms[n]
window.document.form["formName"]

The properties of the Form object are:

action
className
document
encoding
id
innerHtml
innerText
isTextEdit
lang
language
length
method
name offsetHeight
offsetLeft
offsetTop
offsetWidth
ouerHtml
outerText
parentElement
parentTextEdit
sourceIndex
style
tagName
target
title

The Methods of the Form object are:

click()
contains()
getAttribute()
handleEvent()
insertAdjacentHtml()
insertAdjacentText()
removeAttribute()
reset()
scrollIntoView()
setATtribute()
submit()

The Collections and Arrays for the Form object are:

all [ ]
children [ ]
elements [ ]
filters [ ]

The Event Handlers for the Form object are:

onClick
onDblClick
onDragStart
onFilterChange
onHelp
onKeyDown
onKeyPress
onKeyUp onMouseDown
onMouseMove
onMouseOut
onMouseOver
onMouseUp
onReset
onSelectStart
onSubmit