txtarea.value instead of document.getElementById("txtarea").value | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

txtarea.value instead of document.getElementById("txtarea").value

I tried this in my browser and it is working. Is this compatible in all modern browsers/ can I use it in my code without problem? Give some ideas.

2nd Feb 2021, 3:58 PM
Bibek Oli
Bibek Oli - avatar
3 Answers
+ 3
Yes See this https://code.sololearn.com/W2tC44s7DPdz/?ref=app And thnks for this Knowledge 😇
2nd Feb 2021, 4:18 PM
Abhay
Abhay - avatar
+ 1
Abhay you're welcome 😊
2nd Feb 2021, 4:34 PM
Bibek Oli
Bibek Oli - avatar