Evénement | Objet Javascript | Code HTML | Descriptif |
onAbort | image | img | l'utilisateur a stoppé le chargement de l'image. |
onBlur | form, window, frame | input, textarea, select, body, frame, frameset | Lors de la perte du Focus. |
onChange | form | input, textarea,select | Quand on change le contenu. |
onClick | link,document, form | a, body,area | Quand je clique. |
onDlClick | link, document,area | a, body, area | Quand on fait un double clique. |
onDragDrop | window, frame |
body, frame, frameset | Quand je déplace un objet dans une fenêtre. |
onError | image, window, frame | img, body, frame, frameset | Lorsqu'il se produit une erreur de script. |
onFocus | window, frame, form | body, frameset, frame, input | Quand un gagne le focus. |
onKeyDown | link, image, document, form | a, img, body, textarea | Quand j'appuie sur la touche. |
onKeyPress | link, image, document, form |
a, img, body, textarea | Quand j'appuie sur une touche. |
onKeyUp | link, image, document, form |
a, img, body, textarea | Quand je lâche la touche. |
onLoad | image, window, frame | img, body, frameset, frame | Lors du chargement. |
onMouseDown | link, document, form | a, body, form | Quand le bouton de la sourie est appuyé. |
onMouseMove | link, document, form | a, body, form | Quand le curseur bouge. |
onMouseOut | link, area | a, area | Quand je sors du lien. |
onMouseOver | link, area | a, area | Quand je passe sur le lien. |
onMouseUp | link, document, form | a, body, input | Quand le bouton de la sourie est relâché. |
onMove | window, frame |
body, frameset, frame | Quand je déplace la fenêtre. |
onReset | form | form | Quand je réinitialise. |
onResize | window, frame | body, frameset, frame | Quand je redimensionne. |
onSelect | form | input, textarea | Quand je sélectionne. |
onSubmit | form | form | Quand j'envoie un formulaire. |
onUnload | window, frame |
body, frameset, frame | Quand on ferme la fenêtre. |