harvesthq/chosen — Issue #309: Set selected in Multiple group selection 
Author: joeroomen
Created: 2011-10-21 10:07:25+00:00
State: open

Hi all,

I am trying to set Alanya, Bodrum and Gumbet as selected in a multiple select with groups.

$("#destination_selection").val('Alanya');
$("#destination_selection").val('Bodrum');
$("#destination_selection").val('Gumbet');
$("#destination_selection").trigger("liszt:updated");

This will set de selection to Gumbet (.val overwrites every previous selection). How can I best do this?
In another issue topic I found this:

$('#{select_id}_chzn .chzn-drop li').click();

But how can I use that?
Thanks very much,

Joeri