Answers for "jquery select get text"

10

get text of selected option jquery

$('#id').children(':selected').text();
Posted by: Guest on March-18-2020
1

get selected option text jquery

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

get selected option value jquery

$("#vacc_wellness_agegroups option:selected").val();
Posted by: Guest on October-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language