jQuery List Swap

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.

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

Demo: