Jquery.comboselect is a project mainly written in JavaScript, it's free.
A gut and rework of the original, turning a multi-select into a left to right select.
This is a port and a rehabilitation of the JQuery.comboselect.
The plugin transforms a multi-select from a single element to side by side multi-selects. You can move selections from one select to another instead of highlighting them in single. Look at the example. This will make a lot more sense, I assure you.
As part of the transformation, your select is hidden, but updated as you double-click or select and press the add/remove buttons.
Shown with default options as options
$(#my_multi_select_box).comboselect({
sort: 'both', // sort which sides? 'none'|'left'|'right'|'both' -> based on original select's order
addremall : true, // include the add/remove all buttons
add_allbtn: ' >> ', // label for the "add all" button
rem_allbtn: ' << ', // label for the "remove all" button
addbtn: ' > ', // label for the "add" button
rembtn: ' < ', // label for the "remove" button
cs_container: 'div', // html tag to contain both comboselects
btn_container: 'div' // html tag to contain the comboselect buttons
});
To set for legeacy compatibility, define the following after you include the plugin, but before you 'wire' it to anything:
jQuery.fn.comboselect.defaults = {
sort: 'both',
addremall : false,
addbtn: ' > ',
rembtn: ' < ',
cs_container: 'fieldset',
btn_container: 'fieldset'
};
This method can be used for any defaults you prefer, so you do not have to set options on each use of the comboselect.
2.0.0 Reworking release, no sorting
1.0.2 Now works correctly if the form is not the immediate parent of the select.
1.0.1 Correctly transforms inputs which already had options selected.
1.0.0 Initial release.