about attachEvent()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    about attachEvent()

    Hi,

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

    thanks, Dormi
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

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

    Originally posted by msdn
    ... 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

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Had a look at the MSDN link, and the examples are ugly!

      Comment

      Working...