Custom Select for Twitter Bootstrap 2

Description
What is this?
This is a jQuery plugin extending the functionality of Twitter Bootstrap. It allows you to turn a default select input field into an element completely matching the style of Twitter Bootstrap with one line of JavaScript.
Why use it?
- applies Twitter Bootstrap style to a select input field
- preserves native select input field behaviour (you can use GET or POST methods to submit the selected value)
- easily stylable
- responsive (optionally)
- by default uses Twitter Bootstrap button styling and field sizing classnames, but this can be easily overridden by using custom ones
- accessible – supports keyboard tabbing very well (gaining and loosing focus)
Easy to use
Example:
<script>
$(document).ready(function(){
$('.some_classname').bootstrapSelect();
});
</script>
Please note: step-by-step explanation is in the docs.
This plugin requires
- jQuery JavaScript library
- Twitter Bootstrap 2 front-end framework
Changelog
v 1.0 (03 November 2013)
Restructured plugin and added public methods: change, get_value, set_value; Custom attributes on initial select element are copied to a generated HTML element
v 0.1 (21 September 2013)
Prevented form submit on caret/button click, autocomplete prevented on input field, typing and pasting prevented, added a new option – maximum items visible without a scrollbar
Initial release (16 May 2013)
| Type | JavaScript Script |
|---|---|
| Author | LisaStoz |
| Category | Javascript / Miscellaneous |
| Price | $6 |
| Sales | 28 |
| Rating | 0.00 from 1 rating |
| Published | May 15, 2013 |
| Last Update | Nov 3, 2013 |
| Compatible Browsers | IE8, IE9, IE10, Firefox, Safari, Opera, Chrome |
| Compatible Software | jQuery |
| Source Files Included | JavaScript JS, CSS |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks