onkeyup addeventlistener code example Example: onkeyup in javascript <input type="text" onkeyup="myFunction()"> //Or your Code