Answers for "how to get the value of the selected option in jquery"

2

get text selected option jquery

$('#id option:selected').text()
Posted by: Guest on December-16-2019
1

jquery get selected option value

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

get text in select jquery

$("#id option:selected").text();
Posted by: Guest on May-01-2020

Code answers related to "how to get the value of the selected option in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language