Input.form (Property)

The form object that the input element belongs to.

Availability:

DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 3.0
Property/method value type:Form object
JavaScript syntax:-myInputObject.form

Input elements must belong to a containing form. The form is the next outermost <FORM> tag (although <FORM> tags should not be nested). This is represented by a Form object (or a FORM object in MSIE).

See also:Form object

Property attributes:

ReadOnly