Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


jquery how to select an option by its text


jquery how to select an option by its text  using -'jquery'

I need to check if a select has an option whose TEXT is a specific value.

Eg <option value="123">abc</option> i would be looking for abc.

Is there a selector to do this?

Im looking for something similar to $('#select option[value="123"]'); but for text
    

asked Sep 14, 2015 by RayfordWPRr
0 votes
10 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...