Having trouble getting the value of select fields..
Ok so let's say I have something like this:
<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>
I need to go through the stuff[] array via jquery and find out if ANY of them have "thing" selected. Major confusion.
I've tried $('#stuff[0]').val(); just to get it to return at least one of the values, but no luck. I also tried on inArray()'s and indexOf()'s but if I can't even get one of the values returned then I probably shouldn't try something even more complex..