Skip to content

A jquery plugin to manage multi-select in a more design way

License

Notifications You must be signed in to change notification settings

vdubus/jquery-multiSelect

Repository files navigation

jquery-multiSelect

A jquery plugin to manage multi-select in a more design way.

Example available at : JSFiddle

Dependencies :

Available Options :

  • enableChangeMode:Booleantrue to enable item selection on change. false To remain on an item selection with a button.
  • emptyOptionLabel:String – the label to show in the empty option added when in change mode.
  • addButtonLabel:String – the label to display in the selector button.

Available Functions :

  • destroy: to undo the multiSelect on an element.
  • refresh: to update the multiSelect with the new content from an element.

Usage :

This plugin will only take effect on select with multiple attribute.

$("#MyMultiSelect").multiSelect();

We can also use it with options :

$("#MyMultiSelect").multiSelect({enableChangeMode : true, emptyOptionLabel : "Empty Option"});

And to call functions :

$("#MyMultiSelect").multiSelect("refresh");

About

A jquery plugin to manage multi-select in a more design way

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages