[jQuery] data parameter in live

2009-09-09 Thread saqib
Hi I have used bind method with data parameter many times $('#mydiv').bind('click', {val:a},myfunc); but in live method there is no such thing. $('#mydiv').live('click', {val:a},myfunc); Is there a work around to do achieve the task.

[jQuery] Re: Event Capture Architecture

2008-11-12 Thread saqib
Is there any open source project so that I can their working in this scenario (ie multiple event capture) On Nov 10, 9:33 pm, saqib <[EMAIL PROTECTED]> wrote: > I am developing an application in which I have to define click events > for many elements( the list may go up to hundre

[jQuery] Event Capture Architecture

2008-11-10 Thread saqib
I am developing an application in which I have to define click events for many elements( the list may go up to hundreds). So what would be the best way to capture these event Either using a * bind( $('*') ); and in click function get the id of target element and code accordingly