Superwormy
Golden Member
Aight, I have a multiple select box:
<select name="category[]" multiple="multiple" size="5">
<option value="1">numberone</option>
<option value="2">nubmertwo</option>
<optoin value="3">numberthree</option>
</select>
Now, I want to test with javascirpt to make sure that NEITHER 1 or 3 are selected. I know I can refer to it like by .value, but it only gives me the first selected option then... how to I check the rest...?
Sorry for the newb question, I'm a PHP kinda guy, me no like Javascirpt 🙂
<select name="category[]" multiple="multiple" size="5">
<option value="1">numberone</option>
<option value="2">nubmertwo</option>
<optoin value="3">numberthree</option>
</select>
Now, I want to test with javascirpt to make sure that NEITHER 1 or 3 are selected. I know I can refer to it like by .value, but it only gives me the first selected option then... how to I check the rest...?
Sorry for the newb question, I'm a PHP kinda guy, me no like Javascirpt 🙂