OK so Ive been using jquery for a little bit now and love it. I am a
ColdFusion developer. I have a need where I would like to present the
user with a list of categories and the user can drag and drop to sort,
but then I need to post this new sort order to the database. So I see
there are a ton of cool drag & drop plugins for jquery. I understand
how they work and I can get it to work as far as spitting out DIVS or
spitting out ULs that can be sorted, but then what? So now they are
sorted on my screen and not really part of the form. How do I
translate that into something I can do a post to the database with? Do
I do an AJAX call every time they drop an item and try to extrapolate
the sort order on that item after they drop it? Do I populate a hidden
form field with the constantly updating sort order list? MAybe a list
of ID's? How does everyone else go about this this task? I'm sure
there is more than one way and I'm sure this is a common task.

THANKS!

Reply via email to