Bootstrap-select: Auto open

Created on 18 Feb 2014  Â·  5Comments  Â·  Source: snapappointments/bootstrap-select

Hello!
Is it possible to open a list like that $('.selectpicker').selectpicker('open')?
Required to select a beautiful ajax loading.
Thanks for the cool plugin!

old (archived)

Most helpful comment

Alternatively, there's $('.selectpicker').selectpicker('toggle').

All 5 comments

No it is not possible.

I know this is old, but was looking for something. came up with this

$(".bootstrap-select .dropdown-toggle").click()

Alternatively, there's $('.selectpicker').selectpicker('toggle').

Ya, saw that after. :)

On Feb 13, 2017 2:00 PM, "Casey Holzer" notifications@github.com wrote:

Alternatively, there's $('.selectpicker').selectpicker('toggle').

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/silviomoreto/bootstrap-select/issues/484#issuecomment-279487806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_TjcYSLHbYvv9ww32HW208t7HFGZFOks5rcKhUgaJpZM4Bi8SU
.

This is perfect solution

$('.selectpicker').selectpicker('toggle')

Was this page helpful?
0 / 5 - 0 ratings