jQuery plugin for custom <select>
inputs in Zurb Foundation 5 using Foundation Dropdowns plugin for compatibility.
View examples here.
- Include
foundation-select.js
in your footer - Include
foundation-select.css
in your<head>
- Call
$('select').foundationSelect()
before$(document).foundation()
Make sure you have a unique ID on your <select>
s.
- Set
data-prompt="Your custom prompt..."
on your<select>
for a custom prompt. Default is "Choose..." - Support for multiple option
<select>
s. Just addmultiple
parameter to your<select>
Fork it and make it better :)