Toolbar, dynamic Items and Popup remove


#1

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


#2

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