jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window Window Close Event

This topic contains 2 replies, has 3 voices, and was last updated by  ngirish 9 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Window Close Event #64859

    rani
    Participant

    Hello,

    Is there a way to prevent a window close?

    I would like to intercept this event with a an alert “Do you want to save these changes?”.

    Regards,
    Rani.

    Window Close Event #64873

    Peter Stoev
    Keymaster

    Hi Rani,

    No, there’s no way.

    Regards,
    Peter

    Window Close Event #84714

    ngirish
    Participant

    why don’t you display the message on your close button and then call the window close function on message confirmation button.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.