Edit The Code:
See Result »
Try it Yourself - ©
w3schools.com
A function is triggered when the user is pressing a key in the input field.