HTMLButtonElement: form property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("HTML DOM")}}
The **form** read-only property of the {{domxref("HTMLButtonElement")}} interface returns an {{domxref("HTMLFormElement")}} object that owns this {{htmlelement("button")}}, or null if this button is not owned by any form.
Value
An {{domxref("HTMLFormElement")}} or null.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- {{domxref("HTMLButtonElement")}}
- {{domxref("HTMLFormElement")}}
- {{HTMLElement("button")}}
- HTML [
form](/en-US/docs/Web/HTML/Reference/Attributes/form) attribute - HTML forms guide