You can easily use the data syntax for that:

// Save data on my draggable node
$(myDraggable).data('storedInfos', { key: 1 });

in the callbacks, use

ui.draggable.data('storedInfos')

to resolve the saved data.

On Mon, Jan 12, 2009 at 4:00 PM, sk <[email protected]> wrote:

>
> Hello,
>
> Is there a possibility to pass a custom object into the draggable when
> creating it and retrieve it in the droppable's activate event or other
> events of droppable?
>
> Thanks
> >
>


-- 
Paul Bakaus
UI Architect
--
http://paulbakaus.com
http://www.linkedin.com/in/paulbakaus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to