detect if the textarea value is set programmetically | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

detect if the textarea value is set programmetically

My website receives some text through API call and that value is displayed on textarea on the page. I want to run a function to perform some tasks after the value is set to textarea. But I don't see any event triggering when setting textarea value through program. I cannot find any related questions, solutions or articles regarding this. Below is the demonstration of the problem I am facing. https://code.sololearn.com/WirBxqvsrVxA/?ref=app I want some way to detect textarea value is changed through program.

22nd Oct 2022, 4:18 PM
Bibek Oli
Bibek Oli - avatar
1 Answer