Skip to Content
0
Feb 12, 2010 at 10:38 AM

Detecting unload event on leaving IFrame

101 Views

Hi

I have an Iframe element in my WDA view. A Javascript web application is running inside the iFrame. When I exit the WDA view (click Next button) I want the web application to POST data to a ICF node in SAP. I tried registering the unload event in the web app, but apparantly the unload event is not triggered for the IFrame when leaving the WDA view.

Do you have any suggestion on how to detect (within the web app in the Iframe) that the user is navigating away from the WDA view?

thanks!