Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I need to append text to a cloned helper object when it's dragged over a droppable object.

Is there a way to trigger a callback on hover over a droppable object?

share|improve this question

1 Answer

up vote 2 down vote accepted

If I understand correctly, you want something to happen when the draggable is over the droppable?

If so, just use the over event:

$('.iamdroppable').droppable({

over: function() {  
//do something here
},

});
share|improve this answer
 
Awarded answer. My secondary question was another problem in the draggable drag event. Removed for clarity. Thanks again. –  Ryan May 10 at 16:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.