[SOLVED] JS doesn't see whole string in textarea | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

[SOLVED] JS doesn't see whole string in textarea

Help me. Please. Here's code with problem: https://code.sololearn.com/Wg5ulnjCEbq7/?ref=app Try to change text.

21st Jun 2020, 3:32 PM
Anananel [INACTIVE]
Anananel [INACTIVE] - avatar
6 Answers
+ 4
Use .val() instead of .text() to get the user input from the textarea https://www.w3schools.com/jquery/html_val.asp
21st Jun 2020, 4:18 PM
ODLNT
ODLNT - avatar
+ 6
ODLNT Thanks!
21st Jun 2020, 6:10 PM
Anananel [INACTIVE]
Anananel [INACTIVE] - avatar
+ 4
ODLNT Thanks 😊
22nd Jun 2020, 6:39 AM
Anananel [INACTIVE]
Anananel [INACTIVE] - avatar
+ 3
ΣΤΕΛΙΟΣ ΚΑΦΑΣ yes, problem is solved. Btw, I've released first version! It has too many bugs, but I tried my best) I will update it, of course
22nd Jun 2020, 8:54 PM
Anananel [INACTIVE]
Anananel [INACTIVE] - avatar
+ 2
No problem. btw Nice work.
21st Jun 2020, 9:07 PM
ODLNT
ODLNT - avatar
+ 1
what's the problem? there's no plobem?
22nd Jun 2020, 12:17 PM
ΣΤΕΛΙΟΣ ΚΑΦΑΣ
ΣΤΕΛΙΟΣ ΚΑΦΑΣ - avatar