[jQuery] Re: Catch "generic" events

2009-03-30 Thread James
I don't think there's a simple way for that, but you can combine them though: $(document).bind('click mouseover mouseout', function(event) {...} On Mar 30, 2:42 am, Eric Garside wrote: > Nope. You have to specify the type of event you want to bind. > > On Mar 30, 8:04 am, julio wrote: > > > Hi,

[jQuery] Re: Catch "generic" events

2009-03-30 Thread Eric Garside
Nope. You have to specify the type of event you want to bind. On Mar 30, 8:04 am, julio wrote: > Hi, > > in my code I use typically something like this to catch events in DOM > elements: > > $wnd.$(document).bind('click', function(event) {...} > $wnd.$(document).bind('mouseover', function(event)