J
juglesh
Hello, I would like to be able to have the user sort a list of items
similarly to the way you sort your queue on Netflix.com. (the numbers
dont change dynamically on netflix, they must be doing something
serverside with them)
Like this: ([] represents a text or select filed)
[1] an item
[2] something else
[3] a differnt thing
[4] the other
[5] yougetthepicture
So, the user would change the 5 to a 1 if he wanted that item to be #1.
I thought that if i had script that would move everything down a
number each time the user changed one of them, that would work. The
items can stay where they are, i dont need them to change dynamically.
As long as when they are done, each item has a new number, and i can
submit the textboxes as an array to PHP.
I am populating the text boxes and the list of items with php, so the
solution would have to be able to work on any number of items.
I could deal with a serverside PHP solution if anyone knows something
that would work that way.
thanks for your time,
juglesh
similarly to the way you sort your queue on Netflix.com. (the numbers
dont change dynamically on netflix, they must be doing something
serverside with them)
Like this: ([] represents a text or select filed)
[1] an item
[2] something else
[3] a differnt thing
[4] the other
[5] yougetthepicture
So, the user would change the 5 to a 1 if he wanted that item to be #1.
I thought that if i had script that would move everything down a
number each time the user changed one of them, that would work. The
items can stay where they are, i dont need them to change dynamically.
As long as when they are done, each item has a new number, and i can
submit the textboxes as an array to PHP.
I am populating the text boxes and the list of items with php, so the
solution would have to be able to work on any number of items.
I could deal with a serverside PHP solution if anyone knows something
that would work that way.
thanks for your time,
juglesh