JavaScript en KEYPU

<input type="text" onkeyup="myFunction()">
Lonely Lemur