0
使用JQuery識別dragstart和dragstop。 dragstart事件工作正常,但dragstop事件沒有。 下面是代碼我wrote-JQuery上的Dragstop
$('img').on('dragstart', function (event) {
\t $(function() { \t \t
$("#toolbar").animate({width:'toggle'},0);
\t \t });
\t \t
});
$('img').on('dragstop', function (event) {
\t \t alert("hi"); \t
});
感謝。