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 <[EMAIL PROTECTED]> 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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to