JQuery, Draggable, Droppable, Deletable!
Posted on 2009-04-10
I'm wanting to make a page using jQuery and ASP.NET that will load a list of users from a database and populate a box with draggable boxes, each box representing a user.
There are two containers. "Active" and "Inactive". I basically want it to populate based on a single key in the user record. I'm aiming to be able to drag from either box into the other and have it change that key when it is dropped in there.
I know that this is doable using jQuery draggable/droppable - but what i'm most lost on is the ajax involved. I don't need someone to give me the entire project, but I was wondering if anyone had some demonstrations on how to write AJAX code to work with these kinds of things? I can't really wrap my mind around how to trigger a callback, get the item being dragged/dropped/etc.