You can do this little more simpler using this event delegation

and then use this syntax:

$('elementId').delegate('click', '.some_selector', method);

note on the method -> "this" variable will point to the element who
match the selector

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to