[jQuery] Selecting menu items by value

2009-04-19 Thread ajc
I am trying to figure out how to select all the menu items that have a particular value in a form. For example, let's say you had a form with 10 different yes/no menus, and you wanted to select all of the ones that are currently set to yes. Is there a way to do that? I tried doing something like:

[jQuery] Re: Selecting menu items by value

2009-04-19 Thread ajc
as the output, which is correct as there are nine menus on the page. Any ideas? Thanks, Anthony On Apr 19, 10:40 am, mkmanning michaell...@gmail.com wrote: $('select[value=yes]') should return all of the select menus with 'yes' as the chosen option. On Apr 19, 2:42 am, ajc acuc...@gmail.com wrote