form
Property of dom/HTMLElementdom/HTMLElement
Syntax
var result = element.form;
element.form = value;
Notes
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.
Syntax
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.18
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]