$('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:
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
I tried that, but it didn't work for me. I'm new to jQuery, so maybe
I'm doing something silly, but here's what I had:
alert($('select[value=ext]').size());
This shows 0, when there is one menu with ext as the value. If I
remove the value expression and just use 'select', I get 9 as the
The jQuery object is array-like. To see how many results it contains,
just use .length
On Apr 19, 11:44 am, ajc acuc...@gmail.com wrote:
I tried that, but it didn't work for me. I'm new to jQuery, so maybe
I'm doing something silly, but here's what I had:
3 matches
Mail list logo