onkey down events is what you need to handle. Then figure out the ascii.
There are lots of little scripts on the web to do just that if you google.
--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc, Amazon, B&H etc