Can anyone help with this:
http://jsfiddle.net/p89ka9jq/29/ please.
$('#boutique_drop').SumoSelect();
$("#boutique_drop").bind('SumoSelectclick', function(event, ui) {
var element = document.getElementById(ui.value + '_box');
if (element) {
element.selected = ui.checked
alert(element.selected);
}
})
I'm trying to get it to do the same as this:
http://jsfiddle.net/3jr2v/705/
$("#boutique_drop").multiselect();
$("#boutique_drop").bind('multiselectclick', function(event, ui) {
var element = document.getElementById(ui.value + '_box');
if (element) {
element.selected = ui.checked
alert(element.selected);
}
})
Thanks
It can be done by -1.
You can setup with
{ csvDispCount: -1 }option.check documentation