On Nov 13, 5:06 pm, xwisdom <[email protected]> wrote:
> $(context).bind('a.menu:click', callback);
This is what the special event that I described (in a long-winded
comment) earlier does, albeit with a slightly different syntax:
$(context).bind('click', { selector: 'a.menu' }, callback);
Here, again, is the code, in case you want to try it/change it:
http://webdev.stephband.info/events/click/js/jquery.event.click.js
I'm going to have a think about your syntax suggestion.
--
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=.