Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


how do i detect shiftenter and generate a new line in textarea


how do i detect shiftenter and generate a new line in textarea  using -'javascript,jquery,html,css'

Currently, if the person presses enter inside the text area, the form will submit.
Good, I want that.

But when they type shift + enter, I want the textarea to move to the next line: \n

How can I do that in JQuery or plain JavaScript as simple as possible?
    

asked Oct 6, 2015 by yogeshplv
0 votes
12 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...