blob: 15e22601a4a1ba8e4690e3d84415b3a74a7548c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
---
title: DOMRequest.readyState
slug: Archive/B2G_OS/API/DOMRequest/readyState
tags:
- DOM
- Référence_du_DOM_Gecko
translation_of: Archive/B2G_OS/API/DOMRequest/readyState
---
<p>{{ ApiRef() }}</p>
<p>{{ non-standard_header() }}</p>
<h2 id="Summary" name="Summary">Résumé</h2>
<p>Cette propriété est une chaîne de caractères indiquant si une opération {{ domxref("DOMRequest") }} a fini, ou pas, de s'éxecuter.</p>
<h2 id="Syntax" name="Syntax">Syntaxe</h2>
<pre class="eval">var etat = requete.readyState;
</pre>
<p>Où <em>requete</em> est un objet {{ domxref("DOMRequest") }}.</p>
<p>Cette propriété est en lecture seul.</p>
<h2 id="Valeur_renvoyée">Valeur renvoyée</h2>
<p>La valeur renvoyé est une chaîne de caractères JavaScript dont le contenu est "<code>done</code>" si l'opération est finie ou "<code>pending</code>" si elle ne l'est pas.</p>
<h2 id="Specification" name="Specification">Spécification</h2>
<p>Ne fait actuellement partie d'aucune spécification.</p>
<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop">
<table class="compat-table">
<tbody>
<tr>
<th>Fonction</th>
<th>Chrome</th>
<th>Firefox (Gecko)</th>
<th>Internet Explorer</th>
<th>Opera</th>
<th>Safari</th>
</tr>
<tr>
<td>Support de base</td>
<td>{{ CompatUnknown() }}</td>
<td>{{ CompatGeckoDesktop("13.0") }}</td>
<td>{{ CompatUnknown() }}</td>
<td>{{ CompatUnknown() }}</td>
<td>{{ CompatUnknown() }}</td>
</tr>
</tbody>
</table>
</div>
<div id="compat-mobile">
<table class="compat-table">
<tbody>
<tr>
<th>Fonction</th>
<th>Android</th>
<th>Chrome pour Android</th>
<th>Firefox Mobile (Gecko)</th>
<th>IE Mobile</th>
<th>Opera Mobile</th>
<th>Safari Mobile</th>
</tr>
<tr>
<td>Support de base</td>
<td>{{ CompatUnknown() }}</td>
<td>{{ CompatUnknown() }}</td>
<td>{{ CompatGeckoMobile("13.0") }}</td>
<td>{{ CompatUnknown() }}</td>
<td>{{ CompatUnknown() }}</td>
<td>{{ CompatUnknown() }}</td>
</tr>
</tbody>
</table>
</div>
<h2 id="Voir_aussi">Voir aussi</h2>
<ul>
<li>{{ domxref("DOMRequest") }}</li>
<li>{{ domxref("DOMRequest.onsuccess") }}</li>
<li>{{ domxref("DOMRequest.onerror") }}</li>
<li>{{ domxref("DOMRequest.result") }}</li>
<li>{{ domxref("DOMRequest.error") }}</li>
</ul>
|