> In any case, I don't think it would be a fix Well, that's a shame. I know that browsers do not gurantee the order in which the event handlers execute, but it is such a convinient and straightforward approach to do so, isn't it. That is why Firefox, Opera and all the best browsers embraced it. IE is the outcast the ruins the picture. If you look at the jQuery library, it does a "fix" for IE! Anyway, thank you for your attention.
2010/4/15 T.J. Crowder <t...@crowdersoftware.com> > Hi, > > > Why isn't this issue still > > fixed?! > > You say "still." Is there an _open_ bug report for it in > Lighthouse[1]? Because if there isn't, it's not going to be "fixed." > > In any case, I don't think it would be a fix, it would be an > enhancement. As far as I know, Prototype does not make any guarantee > as to the order in which multiple event handlers on an element will be > called (because there is no guarantee provided by the underlying > APIs). To do so, Prototype would have to replace the browser's list of > event observers with its own, which would be overkill (IMHO). > > [1] http://prototype.lighthouseapp.com/projects/8886-prototype/overview > -- > T.J. Crowder > Independent Software Consultant > tj / crowder software / com > www.crowdersoftware.com > > > On Apr 15, 2:03 pm, Dziamid <dzia...@gmail.com> wrote: > > Event.observe(window, 'load', function () { > > alert('1');}); > > > > Event.observe(window, 'load', function () { > > alert('2');}); > > > > Firefox, opera alerts "1" then "2", IE alerts "2" THEN "1"!! Order is > > reversed and developeres are puzzled! Why isn't this issue still > > fixed?! > > -- > You received this message because you are subscribed to the Google Groups > "Prototype: Core" group. > To post to this group, send email to prototype-core@googlegroups.com > To unsubscribe from this group, send email to > prototype-core-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/prototype-core?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en