Take a look at http://unixpapa.com/js/key.html.
It''s a good overview of a current state of affairs with cross-browser
event handling.
- kangax
On May 22, 3:24 pm, veilig
<Jamie.Kah...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> is it possible to check if a key is pressed down while a [click] event
> is observed?
>
> I would like to know if there is a way to check if a button pressed
> when I click on an element or not, and I''m not sure if its
possible or
> how to do it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---