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/action/index.html | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 files/fr/web/api/htmlformelement/action/index.html (limited to 'files/fr/web/api/htmlformelement/action') diff --git a/files/fr/web/api/htmlformelement/action/index.html b/files/fr/web/api/htmlformelement/action/index.html new file mode 100644 index 0000000000..7963547cd3 --- /dev/null +++ b/files/fr/web/api/htmlformelement/action/index.html @@ -0,0 +1,26 @@ +--- +title: HTMLFormElement.action +slug: Web/API/HTMLFormElement/action +translation_of: Web/API/HTMLFormElement/action +--- +
{{APIRef("HTML DOM")}}
+ +

La propriété HTMLFormElement.action représente l'action associée à l'élément {{HTMLElement("form")}}.

+ +

L'action d'un formulaire est le programme exécuté sur le serveur lorsque le formulaire est soumis. Cette propriété peut être récupérée ou définie.

+ +

Syntaxe

+ +
string = form.action
+form.action = string
+
+ +

Exemple

+ +

form.action = "/cgi-bin/publish";

+ +

Spécification

+ +

HTML 5, Section 4.10.19.6, Form submission

+ +

DOM Level 2 HTML: action

-- cgit v1.2.3-54-g00ecf