//ti-компонент TextInput //ta -компонент TextArea ti.addEventListener("change",tiChange); function tiChange(){ ta.text=ti.text }