[jQuery] Drag 'n Drop plus hover on drag?
I have a simple drag and drop completed and works well.
Next I would like be able to trigger a hover event when dragging over
items I have already dropped into the drop area. So far I can only get
the hover to work onmouseover, not while dragging an item.
Here is what I am trying:
$('#dropArea').children('div').each(function() {
$(this).bind('mouseenter mouseleave', function(e){
$(this).toggleClass('placement');
});
}
It seems as though when dragging an item it blocks other event calls?
Dose this have to do with bubbling?
Any help is appreciated.
Jon