On Enter
Posted: Fri Dec 16, 2005 2:09 pm
I'm creating a chat application. If the user hits the "Enter" key while in the message textarea I want to submit the form. However, if the user hits "SHIFT-ENTER" I want it to do a soft return and not submit the form.
I know there is a key capture function I'm just not sure how to do the SHIFT-ENTER part.
Thanks.
I know there is a key capture function I'm just not sure how to do the SHIFT-ENTER part.
Thanks.