Good day I have changed the data in textarea programmatically, but the event oninput does not occur and I cannot handle the change. Is there a way to fire this event in the textarea.
let nextElem = document.getElementById('inp_1');
if (nextElem != null) {
nextElem.value = 'programmInput';
}
<textarea oninput="auto_grow(this)"></textarea>