Oops, haha, damn I'm tired today. Greg
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Ryan Gahl > Sent: Wednesday, March 22, 2006 12:27 PM > To: rails-spinoffs@lists.rubyonrails.org > Subject: RE: [Rails-spinoffs] Capture/Observer keys (F11, F3, > ALT+arrows,CTRL+C/V/X) > > Greg, small typo... need quotes around "keypress" :-) > > Event.observe(window, "keypress", function (e) { alert(e.keyCode); }); > > The information transmitted in this electronic mail is intended only for > the > person or entity to which it is addressed and may contain confidential, > proprietary, and/or privileged material. Any review, retransmission, > dissemination or other use of, or taking of any action in reliance upon, > this information by persons or entities other than the intended recipient > is prohibited. If you received this in error, please contact the sender > and > delete the material from all computers. > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs