textarea on key up code example Example: html onkeyup set value <input type="text" onkeyup="this.setAttribute('value', this.value);" value="">