I\'m using Oleg\'s select2 demo, but I am wondering whether it would be possible to change the currently selected value in the dropdown menu.
For example, if the fou
if you want to select a single value then use $('#select').val(1).change()
$('#select').val(1).change()
if you want to select multiple values then set value in array so you can use this code $('#select').val([1,2,3]).change()
$('#select').val([1,2,3]).change()