Closed s1lver closed 7 years ago
Is it a dynamic created element? If so:
Try:
$(document).on('dblclick', '.dblclick',function () {
console.log($(this));
});
(Not sure if the syntax is correct, cannot check it at this point now but please try)
So, I already tried. But there is no effect
In that case I'm going to ask @pjona if he can take a little sneekpeek in here
If you use unbind (), then the whole list breaks down
$(document).unbind().on('dblclick', ".dblclick", function() {
console.log('Dblclick');
});
https://jsfiddle.net/4vogfw6o/2/
Dblclick on the 16 item
Hi! The problem is solved by setting the timeouts.
This code does not work...