I was playing with jQuery today and was able to create a simple demonstration of its draggable/droppable function. Most know this as “Drag and Drop” functionality.
Just wanna share with you what i just made. The sample i made counts all the items and the total of each item dragged to the drop zone. It would pop an alert when the drop zone is already full. So far, I have tested this in Firefox and IE 6 and works fine.
this is the header script:
this is the body script:
Here is the screenshot:
You can download the zip file here: Drag and drop.zip