theEclipse
Programmer
I have a select box that I added javascript to that allows a user to re-arrange the options. The purpose of this being that the user is going to arrange the options based on personal preference.
My question is....does anybody know of an easy way to send the order of this box to the php back end?
I have thought of two possible soloutions:
[ol]
[li]On submit have javascript pull out the options and put them into a hidden field in the order they selected ... or ...[/li]
[li]On submit have javascript highlite all the options and then I will process it like a select multiple box[/li]
[/ol]
I dont really like either of them but I suppose that using the textarea would be easier than sending the select multiple.
I would also assume that there are other soloutions to the problem that I havent thought of. Anyone thinking farther outside the box than I?
Robert Carpenter
"You and I have need of the strongest spell that can be found to wake us from the evil enchantment of worldliness." - C.S. Lewis (The Weight of Glory)
My question is....does anybody know of an easy way to send the order of this box to the php back end?
I have thought of two possible soloutions:
[ol]
[li]On submit have javascript pull out the options and put them into a hidden field in the order they selected ... or ...[/li]
[li]On submit have javascript highlite all the options and then I will process it like a select multiple box[/li]
[/ol]
I dont really like either of them but I suppose that using the textarea would be easier than sending the select multiple.
I would also assume that there are other soloutions to the problem that I havent thought of. Anyone thinking farther outside the box than I?
Robert Carpenter
"You and I have need of the strongest spell that can be found to wake us from the evil enchantment of worldliness." - C.S. Lewis (The Weight of Glory)