akash akash - 7 months ago 79
HTML Question

How to get the selected value of @html.dropdownlist here?

I am having this on my client side console

enter image description here

I want to extract only 2015 which is currently selected option.
How is it possible?

Answer

EDITED

According to this link,

$( "#YearIn option:selected" ).text();

This should do.