Answers for "select elemetn with certain text jquery"

1

jquery html select selected get text

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

jquery select option by text

$("#myDropdown option:contains(Option 2)").attr('selected', 'selected');
Posted by: Guest on June-16-2020

Code answers related to "select elemetn with certain text jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language