Dual Select jQuery Widget

Multiselect Box with Dual interface. Allows you to see what elements are selected and search them.

Options

sorted
If true keeps elements in the lists sorted.
format
Format to store the time. it will submit on this format but it will not be visible to the user
inputFormat
Format to read the time from the input value.

Methods

values

$(".dual-select").dualselect("values");

Returns an array containing all the values selected

selected

$(".dual-select").dualselect("selected");

Returns a jQuery object containing the elements selected.

notSelected

$(".dual-select").dualselect("notSelected");

Returns a jQuery object containing the elements not selected.

selectedText

$(".dual-select").dualselect("selectedText");

Returns an array containing all the text content of each element selected.

selectedHtml

$(".dual-select").dualselect("selectedHtml");

Returns an array containing all the HTML content of each element selected.

Examples

Javascript

$(".dual-select").dualselect();

HTML


2nd Dual Select Multiple Selected


Download

Ph JQuery Git Hub