Anyone know of a multiple select box script?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

Anyone know of a multiple select box script?

Post 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?
User avatar
it2051229
Forum Contributor
Posts: 312
Joined: Tue Dec 25, 2007 8:34 pm

Re: Anyone know of a multiple select box script?

Post by it2051229 »

learn javascript? but nope I dont know of any generic script that does that
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

Re: Anyone know of a multiple select box script?

Post 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?
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Anyone know of a multiple select box script?

Post 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.
Post Reply