posted 19 years ago
Hi,
I'm developing a chat client and I need to know how I can have my "send" button work when the "Enter" key is pressed on the keybaord. It would be annoying to have to move the mouse everytime and click on "send" for some text to be sent; it is much easier to press Enter key on keyboard instead. I know a little about event handling. If there is a tutorial somewhere or you can provide me with a quick piece of code I would appreciate it vert much.
-Thank you