Here is the code I’m using
When the jQuery UI dialog is fired second time. The updated title is not shown.
Am I doing something wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is because you’re opening the same dialog, for it to take effect you either need to destroy the old dialog, like this:
Try it here.
Or just set the title and button behavior without re-creating the dialog, like this for your OK button:
You can give that a try here.