aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/formdata/keys/index.html
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-10-02 17:20:14 +0200
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-02 17:30:20 +0200
commitc05efa8d7ae464235cf83d7c0956e42dc6974103 (patch)
tree6ea911b2f2010f63a026de6bb7a1a51e7690a7e1 /files/fr/web/api/formdata/keys/index.html
parent13a5e017558b248ee1647d4a5825f183b51f09ad (diff)
downloadtranslated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.gz
translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.bz2
translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.zip
move *.html to *.md
Diffstat (limited to 'files/fr/web/api/formdata/keys/index.html')
-rw-r--r--files/fr/web/api/formdata/keys/index.html79
1 files changed, 0 insertions, 79 deletions
diff --git a/files/fr/web/api/formdata/keys/index.html b/files/fr/web/api/formdata/keys/index.html
deleted file mode 100644
index 3b3b55c86c..0000000000
--- a/files/fr/web/api/formdata/keys/index.html
+++ /dev/null
@@ -1,79 +0,0 @@
----
-title: FormData.keys()
-slug: Web/API/FormData/keys
-tags:
- - API
- - FormData
- - Iteration
- - Méthode
- - Reference
- - XHR
- - XMLHttpRequestAPI
- - keys
-translation_of: Web/API/FormData/keys
----
-<p>{{APIRef("XMLHttpRequest")}}</p>
-
-<p>La méthode <code>FormData.keys()</code> renvoie une {{jsxref("Les_protocoles_iteration", "itération")}} permettant de parcourir toutes les clés contenues dans cet objet. Les clés sont des objets {{domxref("USVString")}}.</p>
-
-<div class="note">
-<p><strong>Note :</strong> Cette méthode est disponible dans les <a href="/fr/docs/Web/API/Web_Workers_API">Web Workers</a>.</p>
-</div>
-
-<h2 id="Syntaxe">Syntaxe</h2>
-
-<pre class="syntaxbox">formData.keys();</pre>
-
-<h3 id="Valeur_de_retour">Valeur de retour</h3>
-
-<p>Retourne une {{jsxref("Les_protocoles_iteration", "itération")}}.</p>
-
-<h2 id="Exemple">Exemple</h2>
-
-<pre class="brush: js">// Créer un object FormData test
-var formData = new FormData();
-formData.append('cle1', 'valeur1');
-formData.append('cle2', 'valeur2');
-
-// Affiche les clés
-for (var key of formData.keys()) {
- console.log(key);
-}
-</pre>
-
-<p>Le résultat est :</p>
-
-<pre>cle1
-cle2</pre>
-
-<h2 id="Spécifications">Spécifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('XMLHttpRequest','#dom-formdata','keys() (as iterator&lt;&gt;)')}}</td>
- <td>{{Spec2('XMLHttpRequest')}}</td>
- <td>Définition initiale</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-
-
-
-<p>{{Compat("api.FormData.keys")}}</p>
-
-<h2 id="Voir_aussi">Voir aussi</h2>
-
-<ul>
- <li>{{domxref("XMLHTTPRequest")}}</li>
- <li><a href="/fr/docs/Web/API/XMLHttpRequest/Utiliser_XMLHttpRequest">Utiliser XMLHttpRequest</a></li>
- <li><a href="/fr/docs/Web/API/FormData/Utilisation_objets_FormData">Utiliser les objets FormData</a></li>
- <li>{{HTMLElement("Form")}}</li>
-</ul>