EasyUI Forum

General Category => General Discussion => Topic started by: featheral on October 01, 2019, 12:28:12 AM



Title: removing an easyui dialog from DOM
Post by: featheral on October 01, 2019, 12:28:12 AM
Hi.
After using dialog('open') to create a dialog, how can I remove the dialog from the DOM? I.E. not merely closing the dialog, but reverting the DOM to how it was before the call to dialog('open')?
Thanks!


Title: Re: removing an easyui dialog from DOM
Post by: stworthy on October 02, 2019, 05:09:20 PM
Please call the 'destroy' method to remove the dialog from DOM.