Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2001 connectés 

 


Dernière réponse
Sujet : [javascript] window.onerror
heffer Ça marche pas qu'avec les champs textes?
Et window.MM_WMP personne connait?

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
heffer Ça marche pas qu'avec les champs textes?
Et window.MM_WMP personne connait?
darkoli ben oui c'est ca.
 
onblur se produit quand le champs devient inactife, quand il perd le focus.
heffer Et onblur c'est l'inverse?  
Onblur adresse verif adresse ça vérifie l'adresse quand on quitte la zone adresse? C'est ça?
lamatrice coment ça c'est pas claire,
 
situons un formulaire avec deux input text, l'adresse mail et la date de livraison.
 
je veux que une fonction de vérification de adresse mail soit appelé au moment ou le client clic sur la zone text livraison
 
donc je lui dis : onFocus livraison verif adressemail
heffer Mouais, c'est pas très clair.
Sinon est-ce que vous savez ce que c'est window.mm_wmp ?
lamatrice c'est au moment ou le curseur se posistion sur un champs txt par exemple.
heffer Je comprends pas ce que c'est onfocus. :??:
darkoli ben il y le site de microsoft :
 
http://msdn.microsoft.com/workshop [...] mlrefs.asp

Code :
  1. onactivate          Fires when the object is set as the active element.
  2. onafterprint        Fires on the object immediately after its associated document prints or previews for printing. 
  3. onbeforedeactivate  Fires immediately before the activeElement is changed from the current object to another object in the parent document.
  4. onbeforeprint       Fires on the object before its associated document prints or previews for printing. 
  5. onbeforeunload      Fires prior to a page being unloaded. 
  6. onblur              Fires when the object loses the input focus. 
  7. oncontrolselect     Fires when the user is about to make a control selection of the object.
  8. ondeactivate        Fires when the activeElement is changed from the current object to another object in the parent document.
  9. onerror             Fires when an error occurs during object loading.
  10. onfocus             Fires when the object receives the focus. 
  11. onhelp              Fires when the user presses the F1 key while the browser is the active window. 
  12. onload              Fires immediately after the browser loads the object. 
  13. onresize            Fires when the size of the object is about to change. 
  14. onresizeend         Fires when the user finishes changing the dimensions of the object in a control selection.
  15. onresizestart       Fires when the user begins to change the dimensions of the object in a control selection.
  16. onscroll            Fires when the user repositions the scroll box in the scroll bar on the object. 
  17. onunload            Fires immediately before the object is unloaded.

heffer Merci! :)  
Et tu peux me dire à quoi correspondent les autres?
lamatrice c'est un évenement comme onClick ou OnBlur mais là c'est onError
et il se déclanche quand y a un erreur
 
la liste :
 
onBlur  
onDragDrop  
onError  
onFocus  
onLoad  
onMove  
onResize  
onUnload
heffer Quelqu'un peut me dire à quoi ça correspond?  
Merci d'avance.  :)  
Et si vous connaissiez un site où il y a les définitions de toutes les méthodes javascript de ce genre, ça serait bien!
 :hello:

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)