Answers for "how to get selected value of input in jquery"

-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 "how to get selected value of input in jquery"

Browse Popular Code Answers by Language