[jQuery] Re: Multiple .bind

2007-04-17 Thread DaveG
Thanks for the workaround, and the patch! Jesse Skinner wrote: I've just submitted a patch to fix this, but in the meantime you can use an anonymous function (as I just described in another message) like so: function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_he

[jQuery] Re: Multiple .bind

2007-04-17 Thread Jesse Skinner
I've just submitted a patch to fix this, but in the meantime you can use an anonymous function (as I just described in another message) like so: function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_header').bind('click', {mode: 'toggle'}, function(e){ tocDis

[jQuery] Re: Multiple .bind

2007-04-16 Thread Brandon Aaron
I believe this is the issue you are experiencing. http://dev.jquery.com/ticket/935 -- Brandon Aaron On 4/16/07, DaveG <[EMAIL PROTECTED]> wrote: I'm binding a click function. If I include either one of the binds it works -- so the syntax and object references are correct. If I include both b