I have added event listener on keypress on body
jQuery('#body').keypress(function(){somevariable = new Date().getTime();});
now what is happening on page there is one button which opens a popup window(using extjs) and
contains an Iframe having an html editor (rich text area) which can not identify that key press event.
Other elements on tht pop up responds to keypress event but hat Richtext area doesnt bcoz it have separate body tag.

how can i handle this situation.?
I want to bind keypress listener at the time of loading.
Is there any way to get frame elements using javascript/extjs/jQuery?