<input type="text" onkeyup="myFunction()">
A function is triggered when the user releases a key in the input field