'Dragstop on JQuery
Im using JQuery for recognizing dragstart and dragstop. The dragstart event is working perfectly but the dragstop event doesn't. Here is the code i wrote-
$('img').on('dragstart', function (event) {
$(function() {
$("#toolbar").animate({width:'toggle'},0);
});
});
$('img').on('dragstop', function (event) {
alert("hi");
});
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
