How to trigger drop in Jquery?

Posted by Codler on Stack Overflow See other posts from Stack Overflow or by Codler
Published on 2010-04-06T18:49:19Z Indexed on 2010/04/06 18:53 UTC
Read the original article Hit count: 331

Filed under:
|
|
$(item).droppable({
    drop: function(event, ui) {
        console.log("triggered");
    }
});

I try to call drop by

$(item).trigger("drop", [{},{draggable : $(target_item)}]);

But it doesnt work, any ideas?

© Stack Overflow or respective owner

Related posts about jquery-ui

Related posts about trigger