hey i'm making an chat program but I dont know how to assign the "enter" button to a onclick function.
<input id = "SendMessage" onclick="Send()" value = "Send" class = "Button" type = "submit">
thats my code. does someone have an awnser? Have a nice day!