Open hanynasyr opened 8 years ago
Would love to see functionality which enables to add options to multiselect with selected attribute. eg.
$('#your-select').multiSelect('addOption', { value: 'test', text: 'test', index: 0, selected: 'true' });
While that would be nice, you can still to this by: $('#your-select').multiSelect('select', String|Array); //String being the value of the option. Array being an array of option values.
$('#your-select').multiSelect('select', String|Array); //String being the value of the option. Array being an array of option values.
Would love to see functionality which enables to add options to multiselect with selected attribute. eg.
$('#your-select').multiSelect('addOption', { value: 'test', text: 'test', index: 0, selected: 'true' });