Example #1
Simple example with default options for the dropdown.
$("select#example-01").jgdDropdown();
Example #2
Example with option to extend LI classes turned off, and preselected value Serbia.
$("select#example-02").jgdDropdown({
clsLIExpand: false,
selected: 'RS'
});
Example #3
Example setting initial title for the drop down and hiding select one from the drop down.
$("select#example-03").jgdDropdown({
clsLIExpand: false,
clsLISelected: 'hide_selected',
initTitle: 'Select Country'
});
Example #4
Add flags to each of the element in the list with additional top level class control.
$("select#example-04").jgdDropdown({
clsLIPrefix: 'flag ',
cls: 'jgd-dropdown jgd-countries',
selected: 'UK'
});
