# Action before leaving a frame

**URL:** <https://forum.kirupa.com/t/action-before-leaving-a-frame/168695>\
**Category:** flash\
**Created:** [November 9, 2005, 9:53am UTC](https://forum.kirupa.com/t/action-before-leaving-a-frame/168695 "2005-11-09T09:53:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superprg](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@superprg](https://forum.kirupa.com/u/superprg)\
**Post date:** [November 9, 2005, 9:53am UTC](https://forum.kirupa.com/t/action-before-leaving-a-frame/168695/1 "2005-11-09T09:53:57Z")

</div>

In my application I have few frames  
In one of the frames, I need to check whether the user has made any changes to the grid and if he leaves the current frame without pressing Save, I have to display an alertbox and do appropriate actions  
How can I check this?
