Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update value of multiple selectpickers via class #683

Closed
klibansky opened this issue Aug 8, 2014 · 2 comments
Closed

Update value of multiple selectpickers via class #683

klibansky opened this issue Aug 8, 2014 · 2 comments
Labels

Comments

@klibansky
Copy link

I have 2 select tags both with the same class (.expiry2) and I want to set then both with the same value via: $('.expiry2').selectpicker('val', 'some thing');
Only the first instance gets updated and not the second.

@t0xicCode
Copy link
Collaborator

Could you provide a jsfiddle or bootply?

@klibansky
Copy link
Author

Demo: http://www.bootply.com/htvCKCe99H

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants