jQuery.SimpleSelect
jQuery.SimpleSelect copied to clipboard
added "filter" option, to dinamically exclude given <option>s from <select>
Requires update of the compressed version.
+1 - Nice addition and works like a charm.
As I didn't find the documentation for this new feature, here is how to use it, it might help someone:
Add class="hidden"
to any <option>
you want to hide. That's it!
And if the class="hidden"
is programmatically added, you'll just need to refresh your simpleselect with $(selector).simpleselect('refreshContents')
to make the select reflect the changes.