An editable select list plugin for jQuery

For a job I did for a client for a couple of months ago, there was a need for a select list that could be editable. I found a plugin for it (don’t remember where I found it, unfortunately), and it worked, kinda. So this morning, I felt like writing such a plugin from scratch.

It basically takes the best of an input field, and a select box/list, and mixes it together. It takes a real select list and transforms it to an input field with options, and mimics most (if not even more) of the features of a real select box. Since it’s a real select list from the start, it degrades nicely for those without Javascript.

You can find the code and an example here:
http://coffeescripter.com/code/editable-select/


About this entry