kilp-web@sbcglobal.net Posted February 22, 2010 Report Share Posted February 22, 2010 I read in the tutorial that the "selectedIndex" property of the Select Object will only return the first selected index when multiple selections are enabled.I have tried setting multiple selections with the "selectedIndex" property and find that only the last one is selected.Is there some way to set and get multiple selections?Thanks,Jerry Link to comment Share on other sites More sharing options...
jeffman Posted February 22, 2010 Report Share Posted February 22, 2010 Use the select.options collection. Each option has a .select property that you can read and write to. It's Boolean. To get them all, loop through the collection. Link to comment Share on other sites More sharing options...
kilp-web@sbcglobal.net Posted February 23, 2010 Author Report Share Posted February 23, 2010 Use the select.options collection. Each option has a .select property that you can read and write to. It's Boolean. To get them all, loop through the collection.Thanks for the pointer. I really appreciate your help.Jerry Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now