I’m experienced with using Prototype/Script.aculo.us for AJAX and combo effects, but haven’t done much with drag/drop. I have the actual drag/drop functionality working well, but would like to know how to actually get the information about the dropped items. I know with Sortables, there is a serialize function, but it doesn’t appear that this is true for Droppables.
I’ve tried Googling it, but no luck. I didn’t have any luck finding it in my “Practical Prototype and Script.aculo.us” book either, so hopefully somebody can give me somewhere to go with it.
FYI – I’m dragging and dropping list items, and would like to get the ID of the list items and/or their values.
I did write this, but can’t seem to get it into an array or other usable form to send back to the server…
[CODE]$(‘dropzone’).select(‘li’).each( function(li) {
alert($(li).readAttribute(‘id’)); });
Thanks!