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