Solved...

I love reading posts like this, but I hate writing them, I feel so
silly.

If I follow up the $("#dialog").dialog( "destroy" ) with a $
("#dialog").remove(), it fixes the issue.

I solved it by paring down the example to a single HTML file (34 lines
long) and I could still reproduce the issue.  I checked the JS console
and did a $("div[id='dialog']") and it returned an array of length
TWO.

I'm guessing I have a fundamental misunderstanding about how dialogs
work.  Is it fair to say that the dialog code moves the dialog div
within the DOM, so when I reload the content, it ends up ADDING
another #dialog rather than replacing the old one?

Thanks for reading :).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to