Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch 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



Government Jobs Opening


...