For the select menu plugin chosen.js, is there an established way to add \'select all items in list\' or \'remove all items in list\' feature to a multiple select input? In
Try this code it will work 100%
// Deselect All $('#my_select_box option:selected').removeAttr('selected'); $('#my_select_box').trigger('chosen:updated'); // Select All $('#my_select_box option').prop('selected', true); $('#my_select_box').trigger('chosen:updated');