Page 1 of 1

Anyone know of a multiple select box script?

Posted: Wed Sep 03, 2008 11:44 pm
by Mr Tech
I found this script that almost what I need. It allows you to switch options between two select boxes:

http://www.dhtmlgoodies.com/scripts/mul ... elect.html

However I need the ability to sort the options on one side... e.g. move options up or down

Anyone know of a script that does that aswell as moving options from select box to select box?

Re: Anyone know of a multiple select box script?

Posted: Thu Sep 04, 2008 12:31 am
by it2051229
learn javascript? but nope I dont know of any generic script that does that

Re: Anyone know of a multiple select box script?

Posted: Thu Sep 04, 2008 1:07 am
by Mr Tech
I don't mean to sound rude but that was a pointless comment... I know JavaScript but I'm not that advanced and why re-invent the wheel when there are perfectly good scripts already available?

Re: Anyone know of a multiple select box script?

Posted: Thu Sep 04, 2008 5:25 am
by jayshields
If you know JavaScript quite well you should be able to adapt that script to include moving the options up or down very easily. It's less than 10 lines of code. Have a go at it, and if you're struggling, post your attempt and we'll help you further.