Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Call javascript when we close the Form

$
0
0

Hi all,

How can i call the javascript when we close the browser. I have a scenario where i have to save the data either the save the data by clicking on save button or close the browser.  As we know that when we close teh browser it ask for "your changes have not been saved. To stay on this page you can save your changes."

I want to call the javascript either clicked on "OK" or clicked on "Cancel".

Is this possible or not, if yes then please guide.


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>