Click here to Skip to main content
15,888,301 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am new to web development and have tried all the code help that i could get from internet.
I have a series of div tags placed in a single div tag
like
HTML
<div class="Draggable" id="MainDiv">
<div id="firstdiv">...</div>
<div id="seconddiv">...</div>
<div id="thirddiv">...</div>
</div>


The div tags are generated at runtime so the id's are random.the id given above are just for making the readers understand my problem.
The actual task that is to be performed is to reposition firstdiv between seconddiv and thirddiv and so on by dragging the respective div at runtime.

Thank You in advance..
Posted

1 solution

Perhaps this is what your looking for http://jqueryui.com/demos/sortable/[^]
 
Share this answer
 
Comments
Vinay Indoria 22-Nov-11 23:44pm    
Thanks a lot..Mark.

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