That's not expected behavior. Can you put together a simple page that shows this happening?
On Jan 7, 12:49 pm, iFeghali <[email protected]> wrote: > Hello, > > I am designing a generic dialog that is supposed to handle dynamic > content. I came up with the code (simplified) : > > $("#dialog").dialog("destroy"); > $("#dialog").dialog({ > autoOpen: true, > }).load('something.php', data); > > The issue is after running the code for the second time the content of > the dialog is just hidden. All other attributes changes accordingly to > the new options (title, size etc.). Finally I could find an ugly hack > to past around this: > > $("#dialog").dialog("destroy"); > $("#dialog").dialog({ > autoOpen: true, > }).load('something.php', data).show(); > > Is this expected behavior or a bug ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
