This time I will share jQuery Plugin and tutorial about User-friendly jQuery Select Box Replacement – Quick Select, hope it will help you in programming stack.
Quick Select is a jQuery plugin that transforms standard select options into easily styleable and clickable inline elements for quick selection.
How to use it:
1. Import the jQuery quick select plugin’s files into your document which has jQuery library installed.
1 |
< link href = "dist/quickselect.css" rel = "stylesheet" > |
3 |
< script src = "//code.jquery.com/jquery-1.11.3.min.js" ></ script > |
4 |
< script src = "dist/jquery.quickselect.js" ></ script > |
2. Apply the plugin to a select box.
1 |
$('select').quickselect({ |
3. Default plugin options.
02 |
activeButtonClass: 'active' , |
14 |
buttonDefaultClass: '' , |
17 |
buttonRequiredClass: '' , |
20 |
namespace: 'quickselect' , |
23 |
selectDefaultText: 'More…' , |
4. Style the plugin whatever you like.
Change log:
2016-11-30
- v2.2
- added support for module loaders
2016-08-19
- v2.1
- Added ‘buttonTag’ option to allow changing of HTML tag used.
2015-12-30
- v2.0
- Button classes for when SELECT is required or not.
- License switched to MIT.
2015-10-19
2015-10-15
2015-10-10
This awesome jQuery plugin is developed by will-stone. For more Advanced Usages, please check the demo page or visit the official website.