Answers for "getting selected dropdown value jquery"

3

how to get the value of dropdown in jquery

BY LOVE
$('#ddlName option:selected').val();
Posted by: Guest on May-08-2020
-1

jquery get selected option value

var selectedOptionText = $('#mySelectID').find(":selected").text();//selected option text
var selectedOptionVal = $('#mySelectID').find(":selected").val();//selected option value
Posted by: Guest on March-27-2021

Code answers related to "getting selected dropdown value jquery"

Browse Popular Code Answers by Language