Hi,
I know my question is about javascript but i hope someone can help me with this.
<form name="myForm">
<textarea name="myTextArea"></textarea>
</form>
Im trying to make a chat room and i'm just starting to code it. I'm having problem detecting the user pressing Enter and Ctrl+Enter.
What is the javascript code so that if i press the Enter key the form will be submitted but if i press ctrl+Enter i'll just signal my textarea to make a new line.
Thank you for any help...