What is the difference between .dialog(\"close\") and .dialog(\"destroy\") in jquery-ui?
.dialog(\"close\")
.dialog(\"destroy\")
I have a script where the previous developer had used
From Docs:
destroy: Removes the dialog functionality completely. This will return the element back to its pre-init state. close: Closes the dialog, which can re-opened when needed.
destroy:
Removes the dialog functionality completely. This will return the element back to its pre-init state.
close:
Closes the dialog, which can re-opened when needed.