ok, but what happend if you try to delete droped elemet ? i have same
problem. after droping item lose reference and i cant remove it


                $("#grid").click(function(){
                        $(this).parent().remove();
                });

idea ?

On Jul 23, 11:39 am, "[email protected]" <[email protected]>
wrote:
> Found my answer via the following:
>
> http://jqueryui.com/demos/draggable/#sortable
>
> Basiclly, i changed my #pieces sortable to a draggable and added the
> coding provided on the page. Easy!
>
> On Jul 22, 5:06 pm, "[email protected]" <[email protected]>
> wrote:
>
> > I have 2 sortable lists, #pieces and #grid. I want todragitems from
> > #peices and add them to #grid without removing them from #peices. The
> > current code i have is:
>
> > <script type="text/javascript">
> >         $(function() {
> >                 $("#peices, #grid).sortable({
> >                         connectWith: '.column'
> >                 }).disableSelection();
> >         });
> >         </script>
>
> > Can someone help me out. cheers for any help!
--~--~---------~--~----~------------~-------~--~----~
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