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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -