Is there any way to listen for keypress events in a parent page while the iframe has focus? Or, alternatively, is it possible to pull away the focus from the iframe?
Please note, the iframe is not within the same domain, so I cannot modify its contents via javascript.
I’ve tried the following jquery in the parent page, thinking perhaps an intermittent blur would work, but it doesn’t seem to.
function iframeBlur(){
$("#iframe").blur();
}
var blurif = setInterval(iframeBlur, 500);
It looks like I just had the wrong syntax. window.focus(); works in ffx and chrome (I’ve got to resolve other ie bugs first before i know with that).