marcj/jquery-selectBox

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

Opened this issue · 1 comments

riazu commented

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.

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 :)