I have a frameset with two frames: frameA and FrameB. frameA has an onbeforeunload method set. When the browser is loaded with the frameset and the user hits the REFRESH button the onbeforeunload method in frameA does not get called. Apparently only the onbeforemethod in the frameset page itself gets called because if I put the onbeforeunload method in the frameset itself, then that method will fire but that is not a workable solution. This seems to be a bug in google chrome (and Safari) because in IE and Firefox the onbeforeunload method in frameA will always get called when the page is unloaded, even if you are refreshing the frameset that contains the frame.
Is there any workaround for this?