Is it possible to get the target element in a keypress event handler in a design mode iframe ? I know it can be done in the mousedown event handler (by accessing event.target), but in the keypress / keydown handlers event.target is always the iframe element. For example, with the following html, if the user types into the div where it says *** key press here ***, I would like in the keypress / keydown event handler to be able to determine that the target element is the div with id='b'. Is this possible ?
*** Key press here ***