Skip to content

Instantly share code, notes, and snippets.

@lou
Created April 22, 2012 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lou/2465720 to your computer and use it in GitHub Desktop.
Save lou/2465720 to your computer and use it in GitHub Desktop.
multiselect usage
$('#countries').multiSelect({
afterSelect: function(value, text){}, // Function to call after one item is selected
afterDeselect: function(value, text){}, // Function to call after one item is deselected
selectableHeader: null, // Text or HTML to display on the selectable container
selectedHeader: null, // Text or HTML to display on the selected container
disabledClass: 'disabled' // CSS class for disabled items
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment