I guess it should have been mySelectList.selectedIndex, nevertheless I guess it is clear what I meant. It is not .index, but selectedIndex. Looking forward to hearing from you, Phil. Thank you very much.
Thank you again, Phil, for taking time to solve my problem. Much appreciated.
It is not a dropdown, but a select list. I say that because it comes with more functionality. It is a like a component, as it is the following...
Thank you for your reply. I should probably said "custom objects". Let's say you have a custom object "myTabMenu" and it contain some properties like "tabTitle", "tabLink", "tabTarget", "tabBackground", "tabAnythingElse" (maybe some methods as well). Let's say all values come from a form...
Hello. What would it be the best approach to attach objects to a Select List? The problem as I understand it is that a Select List has only two arrays, one with text/label and one with value. If you have more values how do you attach them to the list? How about objects? Please consider the fact...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.