Hi there,
I'm building a userinterface for site adminitrators to defince custom
screens.
I have a div with possible controls all adorned with
class="draggable".
Another div with id="droppable" where the administrator can drop the
controls he wants the end user to see.
I want to find all the dragged controls and thought I could do
something like this:
$("#gathercontrols").click(function(e){
e.preventDefault();
var $children = $("#droppable").children();
$children.each(function(i){
// Do the stuff here...
});
});
where #gathercontrols is a button to save the layout.
But there appears to be no children after having dragged the controls
there.
Have I misunderstood how the droppable/draggable stuff works? I
thought the DOM would be changed so the dragged controls would appear
under the droppable.
Any ideas?
Thanks
Casper
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---