onkeyup append child code example Example: html onkeyup set value <input type="text" onkeyup="this.setAttribute('value', this.value);" value="">