posted 18 years ago
Yuriy,
I am not sure I understand your point. We have found a "stupid" workaround, but it looks ugly.
What we did is to catch the onunload event in frame 1 by function onClose(), and then in the onClose(), we replace the html in frame2, but we have to alert a javascript message to trigger frame 2's onunload event. It seems that simply replacing the frame2 html is not good enough to trigger frame 2's onunload event.
parent.frame2.location.replace("loading.html");
alert("Thank you.");
Can any one help us get rid of this javascript alert message? Or any better solution.