+ 3
[Solved] Custom javascript method to get value from textarea
I tried to create custom method to get value from textarea, but it shows error, can you see and help me to fix this. https://code.sololearn.com/W20gQkQ45MOB/?ref=app
2 Respostas
+ 4
instead of String, use HTMLTextAreaElement
https://code.sololearn.com/Wd088DvjfMNh/?ref=app
0
You added a custom function to string but you tried to apply it to a textare.
What type is the result of the queryselector.