Reputation: 1
When I select Select All - the change event should automatically get called, But its not working.When I select one by one, change event worked but not worked for select all.
Upvotes: 0
Views: 2789
Reputation: 346
try it dear
$('.multiselect').multiselect({
enableFiltering: true,
enableCaseInsensitiveFiltering: true,
includeSelectAllOption: true,
includeSelectAllDivider: true,
maxHeight: 400,
onSelectAll: function () {
console.log("select-all-nonreq");
},
onDeselectAll: function () {
console.log("deselect-all-nonreq");
}
});
Upvotes: 2