From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- files/fr/web/api/htmlformelement/method/index.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'files/fr/web/api/htmlformelement/method') diff --git a/files/fr/web/api/htmlformelement/method/index.md b/files/fr/web/api/htmlformelement/method/index.md index 2b6d2ab603..43eaa9c50a 100644 --- a/files/fr/web/api/htmlformelement/method/index.md +++ b/files/fr/web/api/htmlformelement/method/index.md @@ -3,23 +3,21 @@ title: HTMLFormElement.method slug: Web/API/HTMLFormElement/method translation_of: Web/API/HTMLFormElement/method --- -
{{APIRef("HTML DOM")}}
+{{APIRef("HTML DOM")}} -

La propriété HTMLFormElement.method représente la méthode HTTP utilisée pour soumettre un formulaire.

+La propriété **`HTMLFormElement.method`** représente la méthode HTTP utilisée pour soumettre un formulaire. -

Syntaxe

+## Syntaxe -
string = form.method
-form.method = string
-
+ string = form.method + form.method = string -

Exemple

+## Exemple -
document.forms["myform"].method = "post";
-
+ document.forms["myform"].method = "post"; -

Spécification

+## Spécification -

HTML 5, Section 4.10.19.6, Form submission

+[HTML 5, Section 4.10.19.6, Form submission](http://www.w3.org/TR/html5/association-of-controls-and-forms.html#dom-fs-method) -

DOM Level 2 HTML: method

+[DOM Level 2 HTML: method](http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-82545539) -- cgit v1.2.3-54-g00ecf