mikeplate/jquery-drag-drop-plugin — Issue #3: Unable to drop
Author: billsaysthis
Created: 2011-10-19 18:52:01+00:00
State: open

Love the simplicity and felxibility of your plugin but I'm having an issue with drops.

The source-related CSS and functions work as expected but the drop-related do not; that is, the CSS class never appears and I don't see the alert message, including if I add a canDrop callback.

Using latest versions of Chrome and Firefox on OSX 10.6

```html

comments

Name

jobTitle

phone

Ultimate Question

Email

product1

```
```javascript
$(function () {
$('.draggable').dragdrop({
sourceHide: true,
dragClass: "whileDragging",
canDropClass: 'hilightDropped',
dropClass: 'hilightDropped',
didDrop: function($src, $dst) {
alert('dropped '+$src.text());
}
});
});
```