How to update 'title in jQuery UI Dialog? [duplicate]

Solution 1:

The option method will change a dialog's properties after the dialog is created.

Therefore, you can write

$(whatever).dialog('option', 'title', 'New Title');

Solution 2:

you can also use this, before open it

$("#YourContainer").data('title.dialog', ' I am the new title');