giving the UL's an id works:
$("#a,#b").sortable({
connectWith:["#b,#a"]
});
On Dec 24, 8:28 am, marr <[email protected]> wrote:
> try connectWith: no -ed
>
> On Dec 23, 9:18 pm, Zach Carter <[email protected]> wrote:
>
> > Still no luck.
> > I'm using this to connect two ULs on a page, but I can't drag items
> > between the lists:
>
> > $("ul").sortable({
> > connectedWith: ["ul"],
> > activate: function(e,ui){
> > console.log('activate');
> > },
> > receive: function(e,ui){
> > console.log('receive');
> > }
> > });
>
> > is connectedWith broken?
>
> > On Nov 16, 12:10 am, Zach Carter <[email protected]> wrote:
>
> > > I'm trying to drag list items between lists. I can't for the life of
> > > me get sortables to work using connectedWith. Can anyone provide a
> > > working example of proper use of connectedWith? I couldn't find
> > > anything out there on it, besides the couple lines mentioned in the
> > > docs[1].
>
> > > [1]:http://docs.jquery.com/UI/Sortables/sortable#options
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---