maybe a few jquery event shortuts to specific keycodes/ranges of
keycodes, which would provide a meaningful semantic layer, as opposed
to further entrenching the spread of ranges of valid numeric keycodes
into our jquery events

$(...).bind("keydown[enter] keydown[numeric]",fn)

or maybe even simply

$(...).bind("enter",fn);

I'm sure there are better ideas out there for implementation than that
but I think something along these lines might be more useful.  Unless
you are proposing a generic method of binding to events after
performing a filter based on a property of the event object, in which
case I still sort of think special keypress helpers might be useful.


On Jan 29, 10:25 pm, Dave Methvin <[email protected]> wrote:
> Sounds kind of nice to me. Do you have some other examples? I wonder
> how it would be expected to interact with other features:
>
> $("p").bind("click.myplug keydown[keyCode=119].myplug", function ...
--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to