brendon99
08-11-2005, 04:40 AM
Hi,
I have a HTML Page with a couple of buttons across the top, which determine what source appears in an iframe beneath. In one of the pages within the iframe, I'm validating input - when an error occurs, I simply wish the user to be prevented from leaving this page until the error is fixed. However, if I click one of the buttons across the top in the main html page, then I get an error message, and the source of the iframe is changed regardless.
Is there a way to enforce the iframe source to remain, even if I trigger an event from outside of it?
many thanks,
Brendon
I have a HTML Page with a couple of buttons across the top, which determine what source appears in an iframe beneath. In one of the pages within the iframe, I'm validating input - when an error occurs, I simply wish the user to be prevented from leaving this page until the error is fixed. However, if I click one of the buttons across the top in the main html page, then I get an error message, and the source of the iframe is changed regardless.
Is there a way to enforce the iframe source to remain, even if I trigger an event from outside of it?
many thanks,
Brendon