[thelist] adding an option to a select element

Chris Rosser chris at bluefuton.com
Tue Jun 15 06:04:29 CDT 2004


David,

>   your groups             available groups
>  --------------            --------------
> |gym           |          |athletics     |
> |horse-riding  |          |soccer        |
> |squash        |    <==   |rugby         |
> |tennis        |          |golf          |
> |              |    ==>   |table-tennis  |
> |              |          |scrabble      |
> |              |          |ludo          |
> |              |          |bingo         V
>  --------------            --------------
>
> does anyone have any sample javascript code for this, or pointers to how
> to
> do it elegantly?

Give this a try:

http://www.mattkruse.com/javascript/optiontransfer/index.html

HTH,

Chris
}:)


More information about the thelist mailing list