I ran 2 tests. One using proto’s Event.observe, and
another using an in-line handler of the “keydown” event in a
textbox. Using .bindAsEventListener, the event.keyCode is always
returning a capital letter, no matter what. The in-line event handler returns
lowercase vs. uppercase correctly… What’s going on? I guess I find it hard to believe no one has tried capturing
keyboard events before, so I’m hoping I’m just royally screwing
something up. Can anyone help me on this? 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