onkeyup event listener in javascript code example Example: javascript on keypu <input type="text" onkeyup="myFunction()">