Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attaching events
Message
De
25/07/2001 10:39:25
 
 
Information générale
Forum:
Internet
Catégorie:
DHTML
Divers
Thread ID:
00533310
Message ID:
00535008
Vues:
15
Good point. (I didn't even realize I had left the "()" in there...habit, I guess)

>Hi!
>
>For ANY Java Script object you can attach ANY code function using the assignment. However, to reference function data type, DO NOT include the '()' after the function name. Quite simple. Just take a look how Java Script objects are deafined. The object consist of preoprties and... functions assigned to object. When object have event, assigning function to that event will cause firing of that function on event.
>
>HTH.
>
>
>>I know that using javascript, you can do the following to attach an event to a particular method:
>>
>>
frm.myButton.onclick = myOnClick();
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform