Use onbeforeunload to ask user to save changes

  •  02-06-2006, 3:36 PM

    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 Complete Thread