Hello everyone.

I'm trying to code either the keyup or keypress event for an input field in javascript but can't find any good sample code on how to do it. The example on www.w3schools.com doesn't work for me. Can someone please help me with this?