jQuery Chosen fork
// januari 16th, 2012 // No Comments » // Development, Javascript, jQuery, plugin, script
Today I forked the jQuery plugin Chosen. The original code used some dirty code to show and hide the list-items and there were some additional options I added. Now it’s possible to specify if you want to hide or show the search field (default its off) and if you want the search function to look for you query string at the beginning of the list-item label, or wherever.
If you’re using Chosen in combination with SpModal, it’s now possible to have the Chosen list come out of the modal window, using this style:
<style>
#sp-modal-container { overflow: visible !important; }
#select_pln_chzn { position: absolute; }
</style>
search_enabled and search_at_start pretty much speak for themself.





