highlight - jquery Chosen Higlight option in Multiselect -
in great jquery chosen plugin (http://harvesthq.github.io/chosen/) possible highlight option within multiselect. image more description:
edit: sorry unclear question. great if highlight fires givven attribute in option tag. f.e. class name or "name"
<option value="xyz" selected="selected" class="active" name="active">item</option> thanks,
t book
try this,
css
.active{ background : #ff0 !important; } script
$("select").chosen().change(function(){ $('li.search-choice').removeclass('active'); $('li.search-choice:last').addclass('active'); });
Comments
Post a Comment