How to update 'title in jQuery UI Dialog?

Guido Lemmens 2 picture Guido Lemmens 2 · Feb 2, 2010 · Viewed 75.4k times · Source

Possible Duplicate:
jQuery ui dialog change title after load-callback

I like to change the title from an UI Dialog after I have submitted a form in this UI Dialog. So in the callback-function after load I should suggest, but I've tried and googled without result.

Answer

SLaks picture SLaks · Feb 2, 2010

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

Therefore, you can write

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