When i choose the options B or C, the cell D3 value is … I added values to show as drop down list. String [] drpdownvalue = request.getParameterValues("drplistalbum"); and i have made a dropdown like this pass the selected value from dropdown list. The checked property returns True if the radio button is selected and False otherwise. Questions: How do I get the selected value from a dropdown list using JavaScript? You List to make sure your list has been to be user type. Method 1: Using the value property: The value of the selected element can be found by using the value property on the select element that defines the list. Let’s say the following is our dropdown (select) −. for suppose, Selected category is Books, So, I.T Books, Asp.Net Books & Java Books are "Sub-Categories" of "Books" Problem: The Problem is that, In Visual Studio, when I finish adding "Category" to the SQL database, Now, I found form to add sub-category, also there is a DropDownList (which Previously Selected Categories from SQL "Category Table"). In this example we set the JComboBox component so that user can enter their own value.. package org.kodejava.example.swing; import javax.swing. JSP. Hi Lupina, In my opinion, there are two ways you can try: 1. how to get the selected index value of a drop down list box using java script. Just do: document.getElementById ('idselect').options.selectedIndex Then you i'll get select index value, starting in 0. This property returns a String representing the value attribute of the