Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit selections #165

Open
abuzer-firdousi-confiz opened this issue Jun 4, 2015 · 0 comments
Open

limit selections #165

abuzer-firdousi-confiz opened this issue Jun 4, 2015 · 0 comments

Comments

@abuzer-firdousi-confiz
Copy link

I am looking for some parameter to limit the selections, I just want user to select two values, i need the same control like this, with search box to search the list.
It should be similar to something like as follow. but change event is not working.
$(".multiselect").multiselect({
change:function(){
if($('.multiselect').val().length > 2 ){
// disable selection
}else{
// enable selection
}
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant