Simple use, just define the current select class:
$('.select-one').customSelect();
Adding a custom title to your select (default - ):
$('.select-two').customSelect({ defaultText: 'Select your option here' });
Changing click element (default p):
$('.select-three').customSelect({ defaultElement: 'h5', defaultText: 'Here is a H5 element select' });
Animation speed (default 100 - here using 600):
$('.select-four').customSelect({ animationSpeed: 600 });
Submit form when select an option (default false): An element as submit type exist, it will be hidden.
$('.select-five').customSelect({ autoFormSubmit: true, defaultText: 'Select an option to submit form' });
This option allow your select options to display a search filter, this way you might find your option just typing the initial word. (default false):
$('.select-six').customSelect({ searchField: true, searchText: 'Search your option here...' // optional });