form property

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



HRESULT value = object.get_form(IHTMLFormElement** p);

Property values

Type: Object

The form.

Standards information


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.