[mapguide-users] Re: Layer properties problem

Tom Chadwin tom.chadwin at nnpa.org.uk
Wed Apr 7 10:29:43 EDT 2010

To get back to your original question, from what I can see, your code will
set every option as "selected". But which item do you want to be selected?
That list is generated before any user interaction, so which option should
be selected? Once the user chooses one option, you can get at it via:

inputName.selectedIndex - this gives the numerical index of the item

inputName[inputName.selectedIndex].value - this gives the value of the item

I hope this answers your question.

View this message in context: http://n2.nabble.com/Layer-properties-problem-tp4863462p4865266.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list