how to get the selected option value of dropdown in jquery code example
Example 1: how to fetch the selected value of dropdown jquery
BY LOVE
$('#ddlName option:selected').val();
Example 2: jquery get dropdown selected value
<asp:DropDownList ID="DropDownListId" runat="server" CssClass="DropDownListClass"></asp:DropDownList>
var value1 = $("[id*=DropDownListId]").val();
var value2 = $(".DropDownListClass").val();