Hello superiors:
Now I have a question like this:
I create a component use :
var myDialog = new dijit.Dialog({
id:"myDialog ",
...
});
when I create this dialog second , the error prompt that the id has been registerred。
now I want to destroy the dialog by id before I create the dialog again ,how can i do it , thanks very much.