0

HI all. You can see the code right here: http://jsbin.com/egixa5/5/edit. I'm trying to make it so when I drag an article, it only puts it between each article, not the elements inside each article. Also, I'm not sure why it's duplicating the content, instead of just dragging and dropping it…

Any ideas? I would really appreciate any help!

1 Answer 1

2

I'm trying to make it so when I drag an article, it only puts it between each article, not the elements inside each article.

Change $("#main").find('article').sortable(...) to $("#main").sortable(...).

Also, I'm not sure why it's duplicating the content, instead of just dragging and dropping it…

That would be the helper: clone bit.


I think you basically just want to model your code after this demo.

Sign up to request clarification or add additional context in comments.

1 Comment

Perfect. Thanks, Matt. I'll mark your answer when SO allows me to. somehow just missed that demo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.