Question: how to get the selected value of dropdown in razor?
Answer: <script type="text/javascript"> $(function () { //Dropdownlist Selectedchange event. $('#UserId').change(function () { // Get Dropdownlist seleted item text. $("#lbltxt").text($("#UserId option:selected").text());