Zend Certified Engineer

phpguru.org

Free PHP, Javascript and C# code

Custom Multiple Selects

Abstract

Some rather nifty javascript, originally from http://verens.com/, which converts your nasty unusable multiple selects into a custom DIV with checkboxes. My modified version can be customised via two CSS classes (which you can see in the source), and notably, the code is actually readable. All you have to do to activate it, is include the script in your page, and once the page has loaded it will automatically convert all multiple selects on the page.

Demo

And here's an example. If your browser doesn't support javascript or DOM, then you will see a regular multiple select.

Download

Get the code and example HTML file here.

Link to me

If you use any of the code on this site (and if you don't I guess) or it makes your life easier, I'd appreciate a link - http://www.phpguru.org. Thanks.

Last modified: 16:44 29th December 2006