/listSwap

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

Primary LanguageJavaScriptMIT LicenseMIT

jQuery listSwap

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+

Usage:

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

Default Options:

truncate : false, //Set to true to disable word wrap
height : null,	//Set custom height
is_scroll : false, //Show scroll
label_add : 'Add', //Set add label (Can bet set to empty)
label_remove : 'Remove', //Set remove label (Can bet set to empty)
add_class : null, //Custom class for styling
rtl : false, //RTL support

Try it here http://phedde.github.io/listswap