Copy link to clipboard
Copied
I have a drop down list box and I want to change the content of the panel below the drop down list box when it change.
Any one can help??
Or anyone have any detail information about interface scripting.
Thanks you.
Copy link to clipboard
Copied
Are you talking about changing the list, or other controls? If it's the list and something has changed, I would usually use removeAll() to remove all the items from the list and then just call the routine that populated the list to begin with.
Pretty much everything you need for script interface development is in Adobe's JavaScript Tools Guide.
Dan
Copy link to clipboard
Copied
Sorry, there was a problem so I created an other account.
I was making an interface that using a drop down list to control the other panels beneath.
Now, in the onChange event listener i just .remove(0) and then rebuild the interface.
Anyone have better idea to do it??
Or
Anyone know how to remove a panel without using the name of the panel??
Find more inspiration, events, and resources on the new Adobe Community
Explore Now