give key up and down javascript example Example: javascript on keypu <input type="text" onkeyup="myFunction()">