take a look at this: http://stackoverflow.com/questions/187073/jquery-sortables
On Oct 8, 1:55 pm, Bert <b...@oostdesign.nl> wrote: > Hi there, > > I have three sortable lists like: > > <ul id="block_1" class="sortable"> > <li id="listitem_1">Content</li> > <li id="listitem_2">Content</li> > <li id="listitem_3">Content</li> > </ul> > > <ul id="block_2" class="sortable"> > <li id="listitem_4">Content</li> > </ul> > > <ul id="block_3" class="sortable"> > <li id="listitem_5">Content</li> > <li id="listitem_6">Content</li> > </ul> > > And I have put this javascript on it: > > jQuery(".sortable").sortable({ connectWith: ".sortable" }): > > Next I want to have some array (in php) like this: > > array( > 'block_1' => array( > 0 => 1, > 1 => 2, > 2 => 3 > ), > 'block_2' => array( > 0 => 4 > ), > 'block_3' => array( > 0 => 5, > 1 => 6 > ) > ) > > I've tried a lot of options with the jQuery().sortable('serialize') > but I don't get the right response... can someone tell me how to do > this? > > Regards, Bert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---