Oh silly me. Thanks for shedding the light.

~Philip


On Oct 23, 2013, at 12:04 AM, Sanford Whiteman <sa...@figureone.com> wrote:

>> There appears to be a bug in the Sortables.serialize() method. If
>> you do not specify the 2nd parameter, it returns null for each item
>> in the list. Am I doing something wrong here or is this a legitimate bug?
> 
> serialize() returns an array of strings -- the ids of the elements --
> not an Elements.
> 
> So you need to give the elements an id attribute or you get nulls.
> 
>    http://jsfiddle.broadleafsystems.com/gdg5z/1/
> 
> -- Sandy

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mootools-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to