I have to submit the chat when pressing enter key. But go to a new line when pressing shift+ enter.
I had write code to trap Enter key press using scan code.And chat is submitting when pressing enter.But the function works when pressing shift+ enter also