how to using jquery get select element has MULTIPLE mode and reverse
- by Rueta
Hi everyone!
I have a stack with my work today.
My stack here:
I have a select html element and it has MULTIPLE mode:
<select class="test" MULTIPLE></select>
(MULTIPLE mode also type as : multiple="multiple" i inclue here)
<select class="test" multiple='multiple'></select>
now i only want select this element in many normal select element:
<select class="test" ></select>
<select class="test" ></select>
<select class="test" multiple='multiple'></select>
<select class="test"> </select>
i was using jQ like this:
$(".test[!MULTIPLE]").css('border','solid 1px red');
but all select element has border red;
How can i get only select element MULTIPLE. And get select not MULTIPLE mode?