diff options
Diffstat (limited to 'files/it/web/api/htmlformelement/reset')
| -rw-r--r-- | files/it/web/api/htmlformelement/reset/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/files/it/web/api/htmlformelement/reset/index.html b/files/it/web/api/htmlformelement/reset/index.html new file mode 100644 index 0000000000..0d373e6938 --- /dev/null +++ b/files/it/web/api/htmlformelement/reset/index.html @@ -0,0 +1,28 @@ +--- +title: HTMLFormElement.reset +slug: Web/API/HTMLFormElement/reset +translation_of: Web/API/HTMLFormElement/reset +--- +<div>{{APIRef("HTML DOM")}}</div> + +<p><code>reset</code> resetta il form al suo stato iniziale.</p> + +<h3 id="Sintassi" name="Sintassi">Sintassi</h3> + +<pre class="eval"><i>HTMLForm</i>.reset() +</pre> + +<h3 id="Esempio" name="Esempio">Esempio</h3> + +<pre class="eval">document.forms["mioForm"].reset(); +</pre> + +<h3 id="Note" name="Note">Note</h3> + +<p>Questo metodo simula ciò che accadrebbe se l'utente cliccasse il bottone reset.</p> + +<p>Se un controllo di un form (come il bottone reset) ha come nome <var>reset</var>, questo coprirà il metodo reset.</p> + +<h3 id="Specifiche" name="Specifiche">Specifiche</h3> + +<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-76767677">DOM Level 2 HTML: reset</a></p> |
