javascript - Highlight an item in jQuery UI Multiselect Next -
i have jquery ui multiselect next http://quasipartikel.at/multiselect_next want highlight item using colour.
for example, have:
<select id="countries" class="multiselect" multiple="multiple" name="countries[]"> <option value="afghanistan" selected="selected">afganistan</option> <option value="albania" selected="selected">albania</option> <option value="austria" selected="selected">austria</option> <option value="germany" selected="selected">germany</option> </select>
is possible highlight germany in red?
i using highlight 4th row:
.ui-multiselect ul.selected > li:nth-child(3) { background:none; background-color:green; }
if want multiple replace li
li:nth-child(2n+1)
odd etc…
hope helps.
Comments
Post a Comment