JQuery Select Dropdowns: Common Patterns - Kevinleary.net If you're working with jQuery and you want to select an based on it's text value, rather than it's [value] attribute you can use the selector pattern: option[text="Option A"], where Option A is the text label of the option you need to work with.. HTML. As an example, let's say that you're working with the following dropdown field: