Im a beginner and i'm trying to develop an encryption system, but I can't connect the text area to the message. Can you help me? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Im a beginner and i'm trying to develop an encryption system, but I can't connect the text area to the message. Can you help me?

https://code.sololearn.com/Wzwd3cAVHbZ6/?ref=app https://code.sololearn.com/Wahsg3rQ0qro/?ref=app

18th Dec 2022, 2:11 PM
Elia Arreghini
Elia Arreghini - avatar
4 Réponses
+ 5
Use a <button> rather than submit <input> if you're handling things internally (using JS). Use submit <input> if you're sending form data to another machine for further processing. You have script in HTML & JS section. Which one you intend to use? Handle "click" event of the button to do what you want. Here I see one button only, you can add another one for decrypting the message.
18th Dec 2022, 5:00 PM
Ipang
+ 4
What exactly did you mean by "connect the textarea to the message"? what message?
18th Dec 2022, 3:24 PM
Ipang
+ 2
I thought i was a good c# programmer., What a world pf lies...sorry and kisses
19th Dec 2022, 8:18 PM
yio 28
yio 28 - avatar
+ 1
The message to encrypt
18th Dec 2022, 4:08 PM
Elia Arreghini
Elia Arreghini - avatar