Sending Text | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Sending Text

How can I make the text appear below the text field after clicking "Send"? https://code.sololearn.com/Wkcj0Xz4okGT/?ref=app

18th Apr 2020, 7:51 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
16 Answers
+ 4
https://code.sololearn.com/W99STx8RQtY1/?ref=app
18th Apr 2020, 8:00 AM
Jan Metz
Jan Metz - avatar
+ 3
Fantastic, thank you!
18th Apr 2020, 8:04 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
+ 2
With the JavaScript Library "jQuery" makes it even easier. In Sololearn is a good Curse of it
18th Apr 2020, 8:06 AM
Jan Metz
Jan Metz - avatar
+ 2
Yes, I completed it already but I have to practice it more. How would I add more text below the text field. Currently it only changes the text when I write another text and send it.
18th Apr 2020, 8:12 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
18th Apr 2020, 8:20 AM
Jan Metz
Jan Metz - avatar
+ 2
Great, thank you!
18th Apr 2020, 8:21 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
+ 2
What would I have to do if I want to save the text?
18th Apr 2020, 8:26 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
+ 2
Do you mean in a File?
18th Apr 2020, 8:26 AM
Jan Metz
Jan Metz - avatar
+ 2
Yes, or server.
18th Apr 2020, 8:27 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
+ 2
You can send it to a PHP Script an this Script can Save it
18th Apr 2020, 8:28 AM
Jan Metz
Jan Metz - avatar
+ 2
Is there any good tutorials for that?
18th Apr 2020, 8:29 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
+ 2
On w3schools.com
18th Apr 2020, 8:31 AM
Jan Metz
Jan Metz - avatar
+ 2
K, I will check it!
18th Apr 2020, 8:37 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
+ 2
Or you can Save it in a Cookie
18th Apr 2020, 8:58 AM
Jan Metz
Jan Metz - avatar
+ 2
with a javascript function, and asign this function to the element html can be a <p> or <span> or whereever you want.
19th Apr 2020, 11:00 PM
Edwin Boada
Edwin Boada - avatar
0
Hi
20th Apr 2020, 12:55 AM
Anonimo 123