Figured it out... i had to put the "accept" option (so much for being
an "option", heh)
$dvs.droppable({
accept: ".dc",
drop: function(e, ui) {
var $drag = $(ui.draggable);
var $drop = $(this);
$drop.find("input").val($drag.find("input").val());
}
});
On Oct 16, 7:30 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> My example code:
>
> http://paste.pocoo.org/show/88256/
>
> I am trying to make it so the user can "drag" the <div> surrounding
> the textbox and drop it onto an another <div> (that's set for
> "droppable") and then, after i can even get the alert to fire, copy
> the contents of the textbox
>
> but i cannot even get that "alert" to fire in the drop event..... any
> ideas/tips?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---