> Thanks, that did it.  I appreciate the help.

no problem, perhaps you can now help me :)

How are you manipulating the data once you've re-ordered it? I'm
currently calling a javascript function from the onclick tag of a
href:

<a href="#" onclick="doUpate();">create playlist</a>

function doUpate ()
        {
                // alert ('updating');
                var topData = Sortable.serialize('playlist-top');
                var middleData = Sortable.serialize('playlist-middle');
                var bottomData = Sortable.serialize('playlist-bottom');
                Element.update('dataWrapper', '<input type="hidden"
name="playlist-top" id="playlist-top" value="'+topData+'"/> <input
type="hidden" name="playlist-middle" id="playlist-middle"
value="'+middleData+'"/> <input type="hidden" name="playlist-bottom"
id="playlist-bottom" value="'+bottomData+'"/> ');
                this.document.forms.playlistform.submit();
        }

but this seems very clunky to me, any ideas?

thanks,

jb


-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to