Harvest, the team behind one of the earliest rails applications designed for business (rails 0.14.1), has a neat little project out there that helps “make unwieldy select boxes more friendly.” They call it Chosen, and it stays true to the motto “do one thing and do it well.”

After including jQuery (or Prototype), the Chosen stylesheet, and the appropriate plugin:

$(".some-select").chosen();

That’s it! You can now turn your boring old select boxes into:

After

Checkout the examples to see what else Chosen is capable of doing (and how good it looks doing it). You can also browse the source at GitHub.


Have comments? Send a tweet to @TheChangelog on Twitter.

Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.