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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to select all from dropdown

Status
Not open for further replies.

aimee99

Programmer
Mar 14, 2001
1
US
I need an option at the top of my dropdown list so that it will return 'All' the information by default. I've got it set up so that selecting a single option from the picklist works, I just have no clue about getting 'All' from the database as an option.

 
set your select as MULTIPLE
then when "all" is selected, fire a function that will loop over all the list elements and explicitly select each element

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top