See http://docs.jquery.com/UI/Sortables/sortable#options
"All callbacks receive two arguments: The original browser event and a
prepared ui object, view below for a documentation of this object (if you
name your second argument 'ui'):
- *ui.options* - options used to initialize the sortable
- *ui.position* - current position of the helper
- *ui.absolutePosition* - current absolute position of the helper
- *ui.helper* - the current helper element (most often a clone of the
item)
- *ui.placeholder* - the placeholder (if you defined one)
- *ui.item* - the current dragged element
- *ui.sender* - the sortable where the item comes from (only exists if
you move from one connected list to another)"
- Richard
On Mon, Oct 27, 2008 at 6:10 AM, badtant <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I'm currently playing with sortable lists. I have two lists that are
> connected with each other.
> When an item is dragged from one list to the other a want to
> manipulate that item but i don't know how.
>
> I've fugired out that i should use the receive option. Then there are
> two arguments... e and ui. I don't quite understand what they are and
> how i can use them. I need some explenation.
>
> $("#left").sortable({
> connectWith:["#right"],
> receive:function(e,ui){
>
> }
> });
>
> Thanks!
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---