+1 for .unbind(func) I've tryed it once, because it feels so natural and I've seen people trying it also, i think it's a good enhancement to the API.
--Iraê 2009/3/21 John Resig <jere...@gmail.com> > > .unbind() .unbind(type); .unbind(type, func); >> Using .unbind(func); seams the most logical since the pattern looks like >> you're just ommitting whatever you aren't specifying specifically. >> >> What would "*.foo" do? > > > Unbind everything that has that namespace. > http://docs.jquery.com/Namespaced_Events > > Though as for .bind("*", fn); I don't see how that could really be done. >> There are dozens of event types, more being added, then there are custom >> and namespaced events. > > > It would only fire for when other events are bound. > > --John > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---