A lightweight jQuery plugin that replaces native select elements with customizable dropdowns.
iOS 7 style switches for your checkboxes
Add an attribute data-plugin="switchery" data-color="@colors"
to your input element and it will be converted into switch.
Add an attribute data-size="small",data-size="large"
to your input element and it will be converted into switch. Add an attribute data-color="@color" data-secondary-color="@color"
to your input element and it will be converted into switch.
Single Select
Select2 can take a regular select box like this...
Multiple Select
Select2 can take a regular select box like this...
Default usage
The badge will show up by default when the remaining chars are 10 or less:
Threshold value
Do you want the badge to show up when there are 20 chars or less? Use the threshold
option:
All the options
Please note: if the alwaysShow
option is enabled, the threshold
option is ignored.
Position
All you need to do is specify the placement
option, with one of those strings. If none is specified, the positioning will be defauted to 'bottom'.
Textareas
Bootstrap maxlength supports textarea as well as inputs. Even on old IE.
A JavaScript component for choosing date ranges, dates and times.
A jQuery Plugin to make masks on form fields and HTML elements.