Posts by Tdsereno • 31 points
1 post
-
3
votes1
answer404
viewsQ: Differentiate Enter from Shift Enter in a textarea, obtaining the value via javascript
I have a textarea out of a form: <textarea name="textoOriginal"> Within that textarea, I can type a text, and ENTER or SHIFT + ENTER for line breaking. When I take the value of the element, I…