...

View Full Version : how to capture a ONKEYPRESS/DOWN whenever it happens?



BrightNail
07-02-2003, 09:45 PM
Is there a way to capture a onKeyDwon/press..cause I have to capture a keypress of "enter"...BUT this can happen anytime.....so how do i do it?

beetle
07-02-2003, 11:41 PM
Several choices

document.onkeypress
document.body.onkeypress

document.onkeydown
document.body.onkeydown



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum