Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi experts
i have 10 div's in single page. how to drag and drop their positions in the same page without using any repeaters ..
Please help me



Thanks and regards
Ch.Nani
Posted

1 solution

Hi,

Have a look here:
http://luke.breuer.com/tutorial/javascript-drag-and-drop-tutorial.aspx[^]
You can also drag and drop using the jQuery UI:
http://jqueryui.com/draggable/[^]
 
Share this answer
 
v3
Comments
Dholakiya Ankit 26-Aug-13 8:03am    
5ed
Thomas Daniels 26-Aug-13 8:07am    
Thank you!
NaniCh 26-Aug-13 8:14am    
Thank you for your response.. i want drag 2nd div to 4th place then 2nd div replaces as 4th div. here we looks 3rd div replace the position to 2nd and 4th div replace the position as 3rd and 5th div as 4th div contents. here you'r give sites only divs draggable but not replace the old div.. please help me
Thomas Daniels 26-Aug-13 8:20am    
If you want to set a target for a draggable div, then use droppable:
http://jqueryui.com/droppable/
Is that what you want?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900