Problem with jquery-droppable in Chrome

Posted by ripper234 on Stack Overflow See other posts from Stack Overflow or by ripper234
Published on 2010-04-27T17:09:42Z Indexed on 2010/04/27 18:23 UTC
Read the original article Hit count: 315

I have a simple application that users jquery-ui's draggable and droppable. In Firefox, it works perfectly. In Chrome, however, I'm having problems.

This is the code:

$(".cell").droppable({
        drop: function(event, ui) {
           var originalTarget = event.originalTarget;
           ...
         }
});

In Chrome the 'event' object is of type 'Object' (using Chrome Dev Kit), and event.originalTarget is 'undefined'. What am I doing wrong?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery