Question: how to display selected value of dropdown list in dropdown using javascript?
Answer: list using JavaScript? Method 2: Using selectedIndex property with the option property: The selectedIndex property returns the index of the currently selected element in the dropdown list. This index starts from 0 and returns -1 if no option is selected.