Re: [jquery-dev] jQuery.event.special['type'].add modifies handler of other types

2010-01-08 Thread John Arrowwood
Your question is not clear. When you do .bind('event1 event2',fn) you add an event handler for both events. This is to be expected. So why would you think that the code below would not modify the 'anothertype' event? On Fri, Jan 8, 2010 at 10:58 PM, helianthus wrote: > For example, > if I had

[jquery-dev] jQuery.event.special['type'].add modifies handler of other types

2010-01-08 Thread helianthus
For example, if I had created a special add handler for click event, when I do something like jQuery.bind('click anothertype', function() {...}), the handler of anothertype is also modified. If the above is not clear enough I can write a test case. -- You received this message because you are sub

[jquery-dev] jQuery.event.special

2009-06-20 Thread Ariel Flesler
Hi There're a few things I'd like to mention about jQuery.event.special. About returning false to keep the native binding... While this has been around for a while already and it's painful to change stuff like this, I think it's really counter-intuitive. We sort of established returning false as