Does Jquery UI Dialog Destroy event remove the html too?

Posted by chobo2 on Stack Overflow See other posts from Stack Overflow or by chobo2
Published on 2010-05-28T19:05:43Z Indexed on 2010/05/28 19:12 UTC
Read the original article Hit count: 102

Filed under:

Hi

I have a dialog that displays a form. When they save or close the dialog I call up the jquery dialog destroy method.

However I am not clear if it removes the html div. From the description I would not think so

Remove the dialog functionality completely. This will return the element back to its pre-init state.

However when looking with firebug I can't see the html container so I am not sure if it gets removed or what. I am not sure if it is because I make the div for the dialog on the fly and use jquery to add it to the page.

© Stack Overflow or respective owner

Related posts about jquery-ui