- kevi1122 --
This example shows how to copy an element when it's dropped on a target:
Look at lines 6-14, that is where it's creating the clone of the element and placing it inside the drop target..
You could change those lines to do a removeChild on the dragged element instead of the appendChild on the Target..
Does that make sense?
+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +
----- Original Message ----
From: kevi1122 <kevi1122@...>
Sent: Sunday, June 29, 2008 7:19:38 AM
I'm trying to figure out how to (and if it's even possible) to
implement the drag-and-drop example (seen at:
reorder_clean.html) but with the added
functionality of deletion.
Either by adding a delete button to each row, or by dragging and
dropping it outside of a particular region?
Yahoo! Groups Links