jQuery plugin for custom select inputs in Zurb Foundation 5 using Foundation Dropdowns plugin
Setting up custom <select>
s with Foundation using foundation-select.js
is relatively easy.
Include foundation-select.css
in your <head>
Include foundation-select.js
before your </body>
Include $('select').foundationSelect();
before $(document).foundation();
<select id="single-bsg-pilot">
<option value="husker">Husker</option>
<option value="starbuck" selected>Starbuck</option>
<option value="hotdog">Hot Dog</option>
<option value="apollo">Apollo</option>
</select>
<select id="single-bsg-pilot-prompt" data-prompt="Choose the best BSG pilot">
<option value="husker">Husker</option>
<option value="starbuck">Starbuck</option>
<option value="hotdog">Hot Dog</option>
<option value="apollo">Apollo</option>
</select>
<select id="multiple-bsg-pilots" multiple data-prompt="Choose the top BSG pilots">
<option value="husker">Husker</option>
<option value="starbuck">Starbuck</option>
<option value="hotdog">Hot Dog</option>
<option value="apollo">Apollo</option>
</select>