All Projects → esausilva → jquery.selectlistactions.js

esausilva / jquery.selectlistactions.js

Licence: other
jQuery.SelectListActions plugin allows you to perform several actions with HTML Select lists

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Less
1899 projects
CSS
56736 projects

Projects that are alternatives of or similar to jquery.selectlistactions.js

paginathing
a jQuery plugin to paginate your DOM easily.
Stars: ✭ 23 (-34.29%)
Mutual labels:  jquery-plugin
valida
jQuery Plugin for client side easy form validations.
Stars: ✭ 17 (-51.43%)
Mutual labels:  jquery-plugin
Accordion.JS
Accordion.JS: Free jQuery Accordion plugin
Stars: ✭ 34 (-2.86%)
Mutual labels:  jquery-plugin
fontIconPicker
A lightweight iconpicker for use with jQuery
Stars: ✭ 30 (-14.29%)
Mutual labels:  jquery-plugin
jQuery-Awesome-Sosmed-Share-Button
Awesome Social Media Share Button With Share Count
Stars: ✭ 58 (+65.71%)
Mutual labels:  jquery-plugin
Zebra Tooltips
A lightweight, accessible, and highly configurable jQuery plugin for creating beautiful tooltips
Stars: ✭ 52 (+48.57%)
Mutual labels:  jquery-plugin
guillotine
jQuery plugin to crop images within an area (fully responsive), allowing to drag (touch support), zoom and rotate.
Stars: ✭ 321 (+817.14%)
Mutual labels:  jquery-plugin
jquery.throwable
JQuery plugin to make HTML elements throwable
Stars: ✭ 69 (+97.14%)
Mutual labels:  jquery-plugin
Ace-Responsive-Menu
Ace responsive menu is a lightweight jQuery plugin to create responsive multi-level navigation menus with multi device support. Ace responsive menu comes with 3 variants like horizontal, vertical and accordion menu. It gives complete responsive menu solution for any kind of websites or admin templates. The plugin has clean and well commented val…
Stars: ✭ 46 (+31.43%)
Mutual labels:  jquery-plugin
Persian-DatePicker
jQuery UI Datepicker with bootstrap theme (Persian Shamsi, Arabic, Gregorian Calendar Support)
Stars: ✭ 36 (+2.86%)
Mutual labels:  jquery-plugin
jquery.pwstrength
A jQuery plugin to indicate the strength of passwords
Stars: ✭ 22 (-37.14%)
Mutual labels:  jquery-plugin
jquery-scrollToTop
A jQuery plugin that display a button for scrolling the page to the top.
Stars: ✭ 14 (-60%)
Mutual labels:  jquery-plugin
drawer
A touch-enabled drawer component for the modern web.
Stars: ✭ 26 (-25.71%)
Mutual labels:  jquery-plugin
Parallaxie
Easiest, Responsive and Customizable Parallax jQuery Plugin
Stars: ✭ 65 (+85.71%)
Mutual labels:  jquery-plugin
floating-scroll
Lightweight jQuery plugin providing floating scrollbar functionality
Stars: ✭ 72 (+105.71%)
Mutual labels:  jquery-plugin
conditionize.js
Small jQuery plugins for handling conditional form fields via data attributes. Unmaintained.
Stars: ✭ 56 (+60%)
Mutual labels:  jquery-plugin
jQuery-Sakura
Make it rain - sakura petals or anything else for that matter.
Stars: ✭ 76 (+117.14%)
Mutual labels:  jquery-plugin
jquery.youtube-inview-autoplay
📺 A jQuery plugin that starts playing YouTube video when it's scrolled into the view and stops it when it's scrolled out
Stars: ✭ 13 (-62.86%)
Mutual labels:  jquery-plugin
xGallerify
A lightweight, responsive, smart gallery based on jQuery
Stars: ✭ 52 (+48.57%)
Mutual labels:  jquery-plugin
blog
仿照nswbmw的N-blog项目写的多人博客系统,引入了bootstrap和jquery validation plugin。详见wiki部分。
Stars: ✭ 10 (-71.43%)
Mutual labels:  jquery-plugin

jQuery.SelectListActions

jQuery.SelectListActions is a jQuery plugin that gives you several actions to perform with Select lists.

With this plugin you can:

  • Move selected item(s) from a source list to a destination list
  • Move all items from a source list to a destination list
  • Move selected item(s) from a source list to a destination list and deleting the selected item(s) from the source list
  • Move all items from a source list to a destination list and deleting all items from the source list
  • Remove selected item(s) from a list
  • Move selected item(s) up or down a list

Usage

Include jquery.selectlistactions.js in your page

<script src="js/jquery.selectlistactions.js"></script>

And then make your calls like this:

Scenario 1: You have two lists and a button to move selected items between the lists, simply add the following:

$('#buttonId').click(function(e) {
  $('select').moveToList('#sourceListId', '#destinationListId');
  e.preventDefault();
});

Scenario 2: You want to remove one or more items from a list

$('#buttonId').click(function(e) {
  $('select').removeSelected('#sourceListId');
  e.preventDefault();
});

Scenario 3: You want to move selected items up in a list

$('#buttonId').click(function(e) {
  $('select').moveUpDown('#sourceListId', true, false);
  e.preventDefault();
});

Scenario 4: You want to move selected items down in a list

$('#buttonId').click(function(e) {
  $('select').moveUpDown('#sourceListId', false, true);
  e.preventDefault();
});

Demo

I have included an Example folder in this repository that is styled with Bootstrap and some custom CSS.

The examples included are responsive and will look good in desktop as well as mobile.

Take a look at the JSFiddle for quick view

Giving Back

If you would like to support my work and the time I put into making tutorials, consider getting me a coffee by clicking on the image below. I would really appreciate it!

Buy Me A Coffee

enjoy!

-Esau Silva

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].