Use onbeforeunload to ask user to save changes

Last post 02-06-2006, 3:36 PM by AHorlings. 0 replies.
Sort Posts: Previous Next
  •  02-06-2006, 3:36 PM 15630

    Use onbeforeunload to ask user to save changes

    I would like to ask the user to save the text before leaving the page. I use the onbeforeunload event for this.

    But when the user clicks my savebutton in the toolbar,  a beforeunload event is fired before the postback is fired.

    Does anyone has the solution for this problem?
     
    Thanks,
    Arno
View as RSS news feed in XML