Thomas Comiotto wrote:
of registering those events/properties. But from what you're saying,
that can't be done. Unless I put the events on the window I guess.
Yes, register your handler with the window e.g.
window.addEventListener("keypress", new KeypressHandler(), false);
This will call KeypressHandler's handleEvent(aEvent) method. Check for
the appropriate keyCode and do aEvent.preventDefault()
aEvent.stopPropagation().
HTH
Thomas
Thanks a ton! That works under FF Windows and Linux Opera. I just need
to add the appropriate code to make IE work. I'm guessing the rest of
the browsers will follow one of the two conventions.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]