Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you re-populate a list box?

Status
Not open for further replies.

BigM

Programmer
Aug 30, 2000
39
GB
Hi Each,

I am wanting to populate a list box based on the selection of another list box, so that when the user selects a different option the second list box is re-populated with details relevant to new selection. Can this be done?

Thanks In Anticipation
 
you can add items to a select box using:

selectbox.add(new Option("sometext","avalue")) jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top