Gaaaaaa! I always get this backward. As Mr. Wonka would say, "Strike
that; reverse it!"
whatever_your_list_ID_is = Array(
12 => 0,
13 => 1,
24 => 2,
2 => 3,
42 => 4
)
Walter
On Jun 8, 2009, at 6:56 AM, Walter Lee Davis wrote:
> The data generated by Sortable.serialize looks like this after PHP
> grabs it from the POST:
>
> whatever_your_list_ID_is = Array(
> 0 => 12,
> 1 => 13,
> 2 => 24,
> 3 => 2,
> 4 => 42
> )
>
> The keys of the array give the position, the values give the numerical
> part of the list item ID. So in this case, the list looked like this
> in the DOM when serialize() wrapped it up:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---