Search code examples
jquerylistselectfilterlegacy

Large Select Drop down convert to Filter UL List with Legacy jQuery 1.3.2


Ok here goes...

Project is running jQuery 1.3.2 (There are plans to upgrade/rewrite but not at this current stage). The select drop down menu has a couple hundred options. My goal is to do something like the Chosen Plugin (Standard Select) with the filter and scrolling functionality. This select menu is generated from a custom framework (I didn't write).

Looking for any:

  • Tips
  • Help
  • Points in the right direction
  • Outside of the box ideas

I've tried to use the chosen plugin using jQuery in No Conflict but that didn't go over well.


Solution

  • Here's a demo of a dropdown unordered list "pseudo" select generated dynamically from options of a select tag. Clicking on list items updates values in select

    jsfiddle.net/6zcRk/1