Ok I have like 20 jquery.com pages open trying to figure out how to do this but none of them work, lets say I have a few of these:
Quote:
<select id=stuff[0] name=stuff[0]>
<option value="thing">Thing</option>
<option value="other_thing">Other Thing</option>
</select>
<select id=stuff[1] name=stuff[1]>
<option value="thing">Thing</option>
<option value="other_thing">Other Thing</option>
</select>
|
Ok, I need to go through the stuff[] array and find out if ANY of them have "thing" selected. Major confusion.
I think the closest I've came is:
Quote:
var wtf=$('#stuff[0]').val();
|
No luck. Tried the inArray()'s and indexOf()'s and they don't seem to return anything either.