How do I get an item in my drop down menu? I know with .value I can get the value of the item selected, but what I need is the name of the selected item. For example, I have this drop down menu with contains two items: Class 1 and Class 2. The value of Class 1 is 50 and the value of Class 2 is 60. If I use DMT5.value (Class 1's value) I get 50, but what I need is the name itself which is "Class 1".
Alfred_6 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.