Bootstrap-select: How to get all selected values for multiple select?

Created on 3 Oct 2013  Â·  5Comments  Â·  Source: snapappointments/bootstrap-select

Dear all:

Can somebody tell me how can I get the selected values for multiple select? Thanks.

http://silviomoreto.github.io/bootstrap-select/#multiselect

Most helpful comment

Just like you would for a normal multiple select - $('.selectpicker').val()

All 5 comments

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?

Was this page helpful?
0 / 5 - 0 ratings