I would do a seperate bind method for each element

saqib wrote:
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 hundreds). So what would be
the best way tocapturetheseevent

Either using a *
         bind( $('*') );
        and in click function get the id of target element and code
accordingly

OR use a separate bind method for every element.
$('#elementID').click(function(){
                        bind( );
                });

Reply via email to