kilp-web@sbcglobal.net Posted February 22, 2010 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 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 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
Archived
This topic is now archived and is closed to further replies.