Results 1 to 3 of 3
Mar 19, 2009, 10:09 #1
I am displaying a web page within an iframe on my own site. The problem is that this web page has an alert on body onload.
Is there any way I can supress the alert via my iframe onload attribute?
I've tried things like iframe onload="void();" and abort();
Mar 19, 2009, 10:10 #2
The alert only comes up in firefox, not IE. The page has a popup onload and onunload. Basicaly when the page loads and when you attempt to close your browser it will ask you if you're sure. I want to supress both of these.
Mar 19, 2009, 14:21 #3
- Join Date
- Sep 2005
- Sydney, NSW, Australia
- 25 Post(s)
- 1 Thread(s)
If it is from your domain then the easiest way is to remove the code from the page in the iframe (or change it so it doesn't run if the page loads in an iframe).