I've looked everywhere, and tried everything, but can't seem to make it work. Normally in OOP you call an event as if it were a method, but I'm not sure it works in the browser. What are you trying to achieve? Perhaps there is a better solution? > Does anyone know of a way to simulate a keypress event in JavaScript?