On Jan 29, 8:24 pm, Yehuda Katz <[email protected]> wrote:
> $("p").bind("keydown[keyCode=119]", function() {})

Could you also just redefine 'keydown' as a plugin?

$('p').keydown( 119, function(){} );
or
$('p').keydown( [119,120,121], function(){} );
or
$('p').keydown( 'enter', function(){} );
etc.

Matt Kruse

--~--~---------~--~----~------------~-------~--~----~
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