Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Drop Down Menu to populate another drop down

Avatar

Level 2

Hello can someone please help me. I know this is something simple. I have 2 drop down menus. I want one to populate the selection to the other when an item is choosen in the first on.  Can someone help me out?

2 Replies

Avatar

Level 10

Looks pretty simple. So i dono how to explain you.

On exit event of the first drop-down, check the selected value by this.rawValue property.

Invoke a web service and populate the dynamic data to the second field.

Use addItem() and clearItems() methods of the drop-down list.

What else you need?

Nith

Avatar

Level 2

I did figure it out. These forums are very helpful!!!!