HTMLOptionElement: form property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("HTML DOM")}}
The **form** read-only property of the {{domxref("HTMLOptionElement")}} interface returns an {{domxref("HTMLFormElement")}} object that owns the {{domxref("HTMLSelectElement")}} associated with this {{htmlelement("option")}}, or null if this option is not associated with a {{htmlelement("select")}} owned by a form.
Value
An {{domxref("HTMLFormElement")}} or null.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- {{domxref("HTMLOptionElement")}}
- {{domxref("HTMLSelectElement.form")}}
- {{domxref("HTMLFormElement")}}
- {{HTMLElement("option")}}
- HTML forms guide