Hi everyone !

Here is my problem :

I have 2 div :
<div id="draggable" info="test drag"> </div>
<div id="droppable" info="test drop"> </div>

I want to get the "info" attribut of "draggable" AND "droppable" when
I drop "draggable" on "droppable".

Here is my code :

        $("#droppable").droppable({

        drop: function() {
                alert('info droppable = ' + $(this).attr("info"))
        }

        });

[ this code make an alert with "info droppable = test drop" wich is
good.]

With that, I manage to get the "info" attribut of "droppable" but not
the one of "draggable"...

Any idea ?
Thanks in advance !

--

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=.


Reply via email to