hi
i have two frames. first frame contains menu.
i want to attach onkeypress event handler to that frame. there is no problem to make it work in firefox. any of this works:
window.onkeypress=handleKeyboardInput;
or
top.frames[0].onkeypress=handleKeyboardInput;
or
document.onkeypress=handleKeyboardInput;
but none of this works in IE.
(it works in IE if i don't use frames.)
any idea how can i make it work in ie?
onkeypress on frame
Moderator: General Moderators