onkeyup w3 school code example
Example 1: javascript on keypu
<input type="text" onkeyup="myFunction()">
Example 2: onkeyup in javascript
<input type="text" onkeyup="myFunction()"> //Or your Code
<input type="text" onkeyup="myFunction()">
<input type="text" onkeyup="myFunction()"> //Or your Code