A little helper for custom select creation.
bower install droppr
window.Droppr({
'id': '#select', //parent element of your custom select
'itens': 'ul li', //your option list
'onChange': function() {
// your handler here
}
});
git clone git@github.com:rodrigolungui/droppr.git
- make your changes
- make your tests
- and send a pull request
:)