jeudi 1 septembre 2016

Alter behaviour of jQuery UI Dialog

I have a dialog defined with jQuery UI in this way:

this.dialog = $.dialog({
    title: 'Title',
    open: function () {
        //do something
    },
    close: function () {
        //do something else
    }
});

How can I at a later point in my code override the behaviour of the close method?

Aucun commentaire:

Enregistrer un commentaire