| Author |
Javascript function registration
|
Ranadhir Nag
Ranch Hand
Joined: Mar 09, 2006
Posts: 138
|
|
We register 2 functions against the same event of a component - but in different ways. One is through inline event handlers and the other through attachevent/addeventlistener. What is the order of firing of the events - do both the events get fired or one suppresses the other. Is the behaviour uniform across browsers?
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Silly question: Did you write a little test page and see what happens? Well today is your lucky day since I have this test page for you to see in all of its glory: http://www.pascarello.com/examples/testRegister.html (The solution is there too!) Eric
|
 |
 |
|
|
subject: Javascript function registration
|
|
|