I have a multi_select dropdown with values say 1,2,3,4.
$('#changes-selectyes').trigger('change').val('1');
I want to select multiple value at once. But using current method i am able to set only one value. How can i select multiple ?
You can use array notation as value like in the following code.
$('#changes-selectyes').trigger('change').val(['2', '3']);