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🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 6,476 views · 59 clicksSaaS · Week 46 · 6,476 views · 59 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 45,316 views · 229 clicksWebsite · Week 46 · 45,316 views · 229 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 43,311 views · 124 clicksSaaS · Week 46 · 43,311 views · 124 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 62,241 views · 204 clicksSaaS · Week 46 · 62,241 views · 204 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 31,504 views · 125 clicksDesktop App · Week 46 · 31,504 views · 125 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 7,217 views · 19 clicksWebsite · Week 46 · 7,217 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
5,837 views · 20 clicksWeek 46 · 5,837 views · 20 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
5,391 views · 15 clicksWeek 46 · 5,391 views · 15 clicks