Answers for "how to get option value from select in jquery"

1

jquery get selected option value

$("select.your-select").change(function(){ 
	$(this).children("option:selected").val();
});
Posted by: Guest on September-10-2020
0

access selected option in jquery

$( "#myselect option:selected" ).text();
// => "Mr"
Posted by: Guest on November-16-2020

Code answers related to "how to get option value from select in jquery"

Browse Popular Code Answers by Language