On Feb 1, 10:48 am, "Matt" <[EMAIL PROTECTED]> wrote:
> I know this is a bug / behavior in Internet Explorer, but I was hoping
> that a fix could be put into Prototype to make it work. I've tried
> doing it myself based on some code I found, but I'm having problems
> getting it working so I need some help.
>
> The problem is that Internet Explorer will call functions that are
> attached to the same element and event type in random order instead of
> the order in which they were added.
If you want a general purpose function to ensure handlers are called
in the order they are added, you may like to read the following:
<URL: http://groups.google.com.au/group/comp.lang.javascript/
browse_frm/thread/fbf6b4f6c9dc1806/9c129ca565b8ca97?lnk=gst&q=michael
+winter+event+order&rnum=10#9c129ca565b8ca97 >
The amount of code may seem daunting at first (about 120 lines), but
the last 30 lines or so are to ensure a function.call method is
available (the author is very thorough) and it's been wrapped for
posting. There are a couple of corrections later in the thread.
--
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---