Answers for "find option with text"

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 "find option with text"

Code answers related to "Javascript"

Browse Popular Code Answers by Language