akash akash - 10 months ago 105
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?



According to this link,

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

This should do.