A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/fr/docs/Web/API/HTMLFormElement/reset_event below:

GlobalEventHandlers.onreset - Les API Web

GlobalEventHandlers.onreset

Baseline Widely available

La propriété GlobalEventHandlers.onreset contient Un gestionnaire d'évènement déclenché quand un évènement reset est reçu.

Syntaxe
window.onreset = funcRef;
Paramètres Exemple
<html>
  <script>
    function reg() {
      window.captureEvents(Event.RESET);
      window.onreset = hit;
    }

    function hit() {
      alert("hit");
    }
  </script>

  <body onload="reg();">
    <form>
      <input type="reset" value="reset" />
    </form>
    <div id="d"></div>
  </body>
</html>
Notes

L'évènement reset est déclenché quand l'utilisateur clique sur le bouton de réinitialisation dans un formulaire (<input type="reset"/>).

Spécifications Compatibilité des navigateurs

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4