SyntaxFix
Write A Post
Hire A Developer
Questions
Using the filter() function seems to work in your test cases (tested in Firefox). The selector would look like this:
$('#mySelect1 option').filter(function () { return $(this).text() === 'Banana'; });