I use jquery-ui dragable and set revert option to invalid.
the problem is when i drag an item and drop it an invalid position it doesn’t return to its start position. it take place in new position.
I include the example:
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.
Remove the
draggables and thedroppablefrom the code — you don’t actually need them since sortable handles that for you.Here’s an updated fiddle to give you an idea of where this heads: http://jsfiddle.net/zMxJv/5/
If you only want each individual day sortable without cross pollination from other days, remove the
connectWithproperty.