After searching around the web for a while, I found a document that
indicated observing the keydown event rather than the keyup one would
do the trick.  Sure enough, if you want to override -- perhaps block
is a better verb -- default browser shortcuts (at least in Firefox),
observe the keydown event and then just call event.stop() when you
need to.

 - Dave -
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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