J
Jeffrey Magder
Flightless Bird
Is there a way to stop F5 refreshes from propagating from an iframe to the
top level?
Normally you can capture key events with an onKeyDown event handler. You can
use this to capture an F5 key press and cancel the event from becoming a
refresh. However, if this happens within an iframe (where you can't touch the
content of the iframe), the event seems to trigger a refresh across the
entire page. Does anyone know of a way to prevent the iframe refresh event
from refreshing the entire webpage?
This will occur in IE and Firefox even if the iframe is 20 levels deep
within an iframe, which seems incorrect to me. But since it is consistent
across all browsers I'm wondering if my understanding of the iframe itself is
incorrect.
top level?
Normally you can capture key events with an onKeyDown event handler. You can
use this to capture an F5 key press and cancel the event from becoming a
refresh. However, if this happens within an iframe (where you can't touch the
content of the iframe), the event seems to trigger a refresh across the
entire page. Does anyone know of a way to prevent the iframe refresh event
from refreshing the entire webpage?
This will occur in IE and Firefox even if the iframe is 20 levels deep
within an iframe, which seems incorrect to me. But since it is consistent
across all browsers I'm wondering if my understanding of the iframe itself is
incorrect.