+ 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.
1 Respuesta
+ 3
Just hope this external discussion can inspire you
https://stackoverflow.com/questions/58242137/html-textarea-how-to-be-notified-when-value-changes-input-event-not-triggered