From 8bbefa76803785b6e0e1d278679c38b092e6b234 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Fri, 11 Oct 2024 20:18:05 -0700 Subject: [PATCH] New pages: HTML
FormMethod (#36273) * New pages: HTMLFormMethod * input submission * New pages: HTMLFormMethod --- .../api/htmlbuttonelement/formmethod/index.md | 40 +++++++++++++++++ .../api/htmlinputelement/formmethod/index.md | 44 +++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 files/en-us/web/api/htmlbuttonelement/formmethod/index.md create mode 100644 files/en-us/web/api/htmlinputelement/formmethod/index.md diff --git a/files/en-us/web/api/htmlbuttonelement/formmethod/index.md b/files/en-us/web/api/htmlbuttonelement/formmethod/index.md new file mode 100644 index 000000000000000..035a31c4c451ff4 --- /dev/null +++ b/files/en-us/web/api/htmlbuttonelement/formmethod/index.md @@ -0,0 +1,40 @@ +--- +title: "HTMLButtonElement: formMethod property" +short-title: formMethod +slug: Web/API/HTMLButtonElement/formMethod +page-type: web-api-instance-property +browser-compat: api.HTMLButtonElement.formMethod +--- + +{{APIRef("HTML DOM")}} + +The **`formMethod`** property of the {{domxref("HTMLButtonElement")}} interface is the {{Glossary("HTTP")}} method used to submit the {{HtmlElement("form")}} if the {{HTMLElement("button")}} element is the control that submits the form. It reflects the value of the `