Toolbar, dynamic Items and Popup remove


Is there a way, to find all popups generated for dynamic added Items in a Toolbar?
The reason is as follows.
I have a tollbar. By changing the content of the “Maincell” in Layout I remove and add different items in the toolbar. The toolbar is outside of the layout (first element of the body). Some of the Items have a popup which also build on demand.
When I remove such an item the popup is always there.
The popup has no own id because “new dhtmlXPopup()” has no parameter for this.

regards Andreas


You may use:
var myPop = new dhtmlXPopup();
myPop = null;
for the popup clearing.