Page 1 of 1

How can I know if a value is inside a selectmenu?

Posted: Tue Feb 18, 2014 11:55 pm
by Joao Marcos Barbosa Oliveira

What I have to do next?

Appery("selectmenu_name").find("option[value="+value1+"]")

I have to know if value1 is in the selectmenu.


How can I know if a value is inside a selectmenu?

Posted: Wed Feb 19, 2014 12:41 am
by Igor

You can save all select menu values to the array and search this value in array.
This should be helpful: http://marcgrabanski.com/jquery-selec...