By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,339 Members | 1,649 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,339 IT Pros & Developers. It's quick & easy.

about attachEvent()

Dormilich
Expert Mod 5K+
P: 8,639
Hi,

does attachEvent() allow multiple functions to be registered for an event (like addEventListener() does?), MSDN is not very precise about that.

thanks, Dormi
Jan 19 '10 #1

✓ answered by gits

have had a look here and it seems to work ... but note:

... If you attach multiple functions to the same event on the same object, the functions are called in random order, immediately after the object's event handler is called. ...
kind regards,
gits

Share this Question
Share on Google+
2 Replies


gits
Expert Mod 5K+
P: 5,390
have had a look here and it seems to work ... but note:

... If you attach multiple functions to the same event on the same object, the functions are called in random order, immediately after the object's event handler is called. ...
kind regards,
gits
Jan 20 '10 #2

acoder
Expert Mod 15k+
P: 16,027
Had a look at the MSDN link, and the examples are ugly!
Jan 31 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.