[jQuery] Re: Basic Bind Question

2009-12-04 Thread seasoup
Got two more uses for ya. Namespacing of events: // set two click events with different namespaces $('.button').bind('click.namespace1', function () { }).bind('click.namespace2', function () { }); //remove just one of them $('.button').unbind('click.namespace1', function () { }); and

Re: [jQuery] Re: Basic Bind Question

2009-12-04 Thread Charlie Griefer
Thanks all. I appreciate all the responses and examples. Really helps out a lot. Charlie On Fri, Dec 4, 2009 at 11:34 AM, seasoup seas...@gmail.com wrote: Got two more uses for ya. Namespacing of events: // set two click events with different namespaces