Is there any way for me to allow a user to drag a div which I’ve put in a sortable list (I used jquery ui's $.sortable() function), into a different sortable list?
Is there any way for me to allow a user to drag a div
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out the
connectWithoption for sortables.Essentially, if you only want
#DivAto be able to drag elements to#DivByour sortables would be:If you want to be able to exchange items between the two you have to set the relationship both ways: