@guy

A blog on technology and web culture

Guy Malachi


Source CodeManipulate Select Boxes
New and Improved: now works with Mozilla!

Here is some JavaScript code that I wrote for manipulating elements (options) in select boxes.
This code displays the concepts of some cool things you can do with JavaScript and select boxes.
You can move elements from one select box to another, change the order of elements, select/unselect all options, and remove elements from a select box.

Play around with it and view the source of this page in order to see how it's done.

As usual, if you decide to use this code, the only thing I ask is that you .

Enjoy...
Guy

All Elements [ Select All ]   Selected Elements  

 

© 2011 Guy Malachi atguy.com, All Rights Reserved