Skip to content

berkandirim/jquery-listswap

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 26 commits ahead of phedde:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

jQuery listSwap

This is a more modern fork of listSwap plugin by @phedde

Note: this version is still in development.

ListSwap is a jQuery plugin that allows you to swap (add/remove) items between two drop-down lists.

  • jQuery suppport: 1.3+
  • Browser support: All major browsers, IE8+

Demo

Install with Bower

$ bower install jquery.listswap

Usage

$('#source, #destination').listSwap();

Define search with data-search="placeholder" on list elements.

Default Options

truncate : false, // Set to true to disable word wrap
height : null,  // Set custom height
labelAdd : '', // Set add label (Empty by default)
labelRemove : '', // Set remove label (Empty by default)
customClass : '', // Custom class for styling	
srcTitle: null, // Titles for boxes
destTitle: null	 // Both are required

Roadmap

  • Add destroy method
  • Add update method
  • Add RTL support

About

ListSwap is a jQuery plugin that allows you to swap (add/remove) items between two drop-down lists

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 80.6%
  • CSS 19.4%