form property

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
6 out of 10 rated this helpful - Rate this topic

Retrieves a reference to the form that the object is embedded in.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.18

Syntax

JavaScript

p = object.form

Property values

Type: Object

The form.

Standards information

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.

See also

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
HTMLProgressElement
option
select
textArea

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.