$P
.unbind("mouseenter."+ namespace, addHover )
.unbind("mouseleave."+ namespace, removeHover )
;
???
On Fri, Oct 2, 2009 at 6:32 PM, Kevin Dalman <[email protected]> wrote:
>
> No takers on this, eh?
>
> I'll assume it is a bug then and post this as a ticket.
> ( just have to remember where to find that ;)
>
> /Kevin
>
> On Sep 24, 8:51 am, Kevin Dalman <[email protected]> wrote:
> > I am using namespaced events in a widget...
> >
> > $P
> > .bind("mouseenter."+ namespace, addHover )
> > .bind("mouseleave."+ namespace, removeHover )
> > ;
> >
> > ...so I can unbind all events at once when I 'destroy' the widget...
> >
> > $P.unbind("."+ namespace) // remove events
> >
> > This works fine for all events *except* mouseenter and mouseleave -
> > these do not unbind. They still don't unbind even when I add the
> > specific event name...
> >
> > $P.unbind("mouseenter."+ namespace) // no worky!
> >
> > I can only unbind ALL mouseenter/leave events...
> >
> > $P.unbind("mouseenter")
> > $P.unbind("mouseleave")
> >
> > This is true in both IE7 and FF3. Am I missing something, or is this a
> > bug? If so, I assume it's because these are 'psuedo events', not
> > regular DOM events?
> >
> > /Kevin
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---