From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/htmlformelement/method/index.html | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 files/fr/web/api/htmlformelement/method/index.html (limited to 'files/fr/web/api/htmlformelement/method') diff --git a/files/fr/web/api/htmlformelement/method/index.html b/files/fr/web/api/htmlformelement/method/index.html new file mode 100644 index 0000000000..5072c652ab --- /dev/null +++ b/files/fr/web/api/htmlformelement/method/index.html @@ -0,0 +1,25 @@ +--- +title: HTMLFormElement.method +slug: Web/API/HTMLFormElement/method +translation_of: Web/API/HTMLFormElement/method +--- +
{{APIRef("HTML DOM")}}
+ +

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

+ +

Syntaxe

+ +
string = form.method
+form.method = string
+
+ +

Exemple

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

Spécification

+ +

HTML 5, Section 4.10.19.6, Form submission

+ +

DOM Level 2 HTML: method

-- cgit v1.2.3-54-g00ecf