diff options
Diffstat (limited to 'files/fr/web/api/htmlformelement/target/index.md')
-rw-r--r-- | files/fr/web/api/htmlformelement/target/index.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/files/fr/web/api/htmlformelement/target/index.md b/files/fr/web/api/htmlformelement/target/index.md new file mode 100644 index 0000000000..3d7a6002d0 --- /dev/null +++ b/files/fr/web/api/htmlformelement/target/index.md @@ -0,0 +1,25 @@ +--- +title: HTMLFormElement.target +slug: Web/API/HTMLFormElement/target +translation_of: Web/API/HTMLFormElement/target +--- +<div>{{APIRef("HTML DOM")}}</div> + +<p>La propriété <strong><code>HTMLFormElement.target</code></strong> représente la cible de l'action (i.e., le cadre de destination dans lequel produire le résultat).</p> + +<h2 id="Syntax">Syntaxe</h2> + +<pre class="eval"><em>string</em> = form.target +form.target = <em>string</em> +</pre> + +<h2 id="Example">Exemple</h2> + +<pre class="eval">myForm.target = document.frames[1].name; +</pre> + +<h2 id="Specification">Spécification</h2> + +<p><a href="http://www.w3.org/TR/html5/association-of-controls-and-forms.html#dom-fs-method">HTML 5, Section 4.10.19.6, Form submission</a></p> + +<p><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-6512890">DOM Level 2 HTML: target</a></p> |