Home > Article > Web Front-end > Code to get select selected value in jquery_jquery
jquery gets the selected text and value
Gets the selected text: $("#ddlregtype").find("option:selected").text();
Gets the selected value: $(" #ddlregtype ").val();
Get the selected index: $("#ddlregtype ").get(0).selectedindex;