--- layout: default ---
Programmatically calling the disable and enable methods.
var $widget = $("select").multiselect(),
state = true;
$("#toggle-disabled").click(function(){
state = !state;
$widget.multiselect(state ? 'disable' : 'enable');
});