Click to See Complete Forum and Search --> : Display multiple texts selected in a dropdown


iamtherookie
01-31-2003, 10:30 AM
I am enhancing an order entry screen to allow users to place the same order from/to multiple locations. In the past the user could only select one location and when the confirmation pop up was displayed I showed this location using Place.options[Place.options.selectedIndex].text - now I would like to list all of the locations that the user is placing the order for. Any ideas on how to show the text of all the selected options in a nice orderly list? The way I am doing it now only shows the first selected option.

Thanks

khalidali63
01-31-2003, 10:38 AM
Originally posted by iamtherookie
Any ideas on how to show the text of all the selected options in a nice orderly list? The way I am doing it now only shows the first selected option.

Thanks

Nice oorderly way is totally dependant upon on'e's aesthetics,the second part of your question that how to select multiple values from a list box?
in the html code where you declare a slect object just add

multiple

and it will allow a user to select multiple rows.

cheers

Khalid

iamtherookie
01-31-2003, 10:46 AM
I have added multiple, and that allows users to select multiple options. What I want to do is be able to display the text of the selected options - in any way.