My page is displaying some div’s which are dynamically created.
I want to make all div draggable so the user can easily change their position up and down. I just want up and down position.
My code
if (@items.Data == true)
{
<div class="@items.ShortDesc test1" id="@items.ShortDesc" >
<input type="text" class="txtbox" >
</div>
}
I am using jquery Sort its working fine for sort, but now i am not able to write anything on my textbox which are in div
So I want to change positions of my div by up and down.
Try this:
http://jqueryui.com/sortable/