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

How can I have 2 or 3 select boxes on the same page? #176

Open
riazu opened this issue May 2, 2016 · 1 comment
Open

How can I have 2 or 3 select boxes on the same page? #176

riazu opened this issue May 2, 2016 · 1 comment

Comments

@riazu
Copy link

riazu commented May 2, 2016

Hi,

I wanna have more than 1 select boxes ion the same page. I tried this...
$(function () { $("#durationSelect").selectbox(); $("#minParticipantsSelect").selectbox(); $("#maxParticipantsSelect").selectbox(); });
But it didn't help. Can you please guide me how can I use more than 1 select boxes on single page?

Thanks.

@bogdanRada
Copy link
Contributor

bogdanRada commented May 23, 2016

i think it should be something like this actually:

(function($) {
$("#durationSelect").selectBox('enable'); 
$("#minParticipantsSelect").selectBox(''enable');
$("#maxParticipantsSelect").selectBox('enable');
})(jQuery);

Let me know if that helps. I have been using this library for a long time and for me it works. And i really like this library :)

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

No branches or pull requests

2 participants