Retrieves a reference to the form that the object is embedded in.
Syntax
HTML | N/A |
---|
Scripting | [ oForm = ] object.form |
---|
Possible Values
oForm |
Object that
receives the form. |
The property is read-only.
The property has no default value.
Remarks
Null is returned if the object is not on a form.
In Microsoft Internet Explorer 6, This property now applies to the fieldSet, isIndex, label, and legend elements.
Standards Information
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1
.
Applies To
|
BUTTON,
FIELDSET,
INPUT type=button,
INPUT type=checkbox,
INPUT type=file,
INPUT type=hidden,
INPUT type=image,
INPUT type=password,
INPUT type=radio,
INPUT type=reset,
INPUT type=submit,
INPUT type=text,
ISINDEX,
LABEL,
LEGEND,
OBJECT,
OPTION,
SELECT,
TEXTAREA |