The correct syntax is:
Code:
document.addEventListener('keydown', my_onkeydown_handler, true);
The DOM Level 2 event model doesn't follow the old naming convention of "oneventname". Note however that IE's attachEvent() method does require the event name to start with "on".