Link to home
Start Free TrialLog in
Avatar of Rahul Sehrawat
Rahul Sehrawat

asked on

Boostrap Select - Javascript Selectbox Question

Hi Experts,

I am using Bootstrap Select Library for my project to replace my select boxes.  I needed the feature to add custom text into it as well so that user should be able submit text which is not a option. While searching on web, I landed on http://jsfiddle.net/2wvc3Lj5/8/ < this fiddle which allows you to do that.

Now my main issue is that I have alot of dynamic selectbox and it will not be possible to put it the code for each and every selectbox. Throughout my website, my selectbox's have one common class (combobox). Is it possible to make it work with the class name and also if there are multiple selectbox per page, it should change add the value to the selectbox it was added on.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rahul Sehrawat
Rahul Sehrawat

ASKER

Awesome. Thanks :) works like a charm.
You are welcome.