I am using this to determine if user has clicked refresh button of the browser.
It gives the user an option to stay on the page or to leave the page.
If user chooses to stay on the page, I want to do something (call some method). Is that possible?
I am using this to determine if user has clicked refresh button of the browser.
It gives the user an option to stay on the page or to leave the page.
If user chooses to stay on the page, I want to do something (call some method). Is that possible?