when dialog close the page have dialog mockup as hidden in page. so how i can remove them then they are removed with the mockup. means how i can remove dialog with the mockup so later their is no mockup same can found in DOM.
Share
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.
I think you you must use
.dialog("destroy")withe the same selector you used to create itor if you assind the dialog to a javascript variable you call the method on the variable.
if you want to this when you close the dialag do this when creating it:
EDIT – ok i understood you wanted to remove the dialog. To remove the html i think you can do this: