Answers for "JQUERY: how do you display text based on option in selected in html"

10

get text of selected option jquery

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

jquery selected option text

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

Code answers related to "JQUERY: how do you display text based on option in selected in html"

Code answers related to "Javascript"

Browse Popular Code Answers by Language