Dear all:
Can somebody tell me how can I get the selected values for multiple select? Thanks.
Just like you would for a normal multiple select - $('.selectpicker').val()
can i set default select in multiple select?
@eagore Yes. Check this http://silviomoreto.github.io/bootstrap-select/#methods You can pass array of values into method val()
Hello Roman;
Thank you for your help. :D
Thanks,
Archie
On Fri, Jan 23, 2015 at 8:41 PM, Roman [email protected] wrote:
@eagore https://github.com/eagore Yes. Check this
http://silviomoreto.github.io/bootstrap-select/#methods You can pass
array of values into method val()—
Reply to this email directly or view it on GitHub
https://github.com/silviomoreto/bootstrap-select/issues/333#issuecomment-71188062
.
How do I populate the selected values in multi select?
Most helpful comment
Just like you would for a normal multiple select -
$('.selectpicker').val()