Skip to content

Instantly share code, notes, and snippets.

@jaggy
Created September 28, 2013 21:29
Show Gist options
  • Save jaggy/6746831 to your computer and use it in GitHub Desktop.
Save jaggy/6746831 to your computer and use it in GitHub Desktop.
Snippet to make the Foundation 4 custom forms to work.
wrapSelects = function() {
$('form.awesome select:not(.is-wrapped)')
.addClass('is-wrapped')
.wrap('<div class="custom dropdown select" />')
.after('<span class="selector"></span>');
}
$(wrapSelects);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment