events (beginner question)

events (beginner question)

Hi.
I am beginner in jQuery and I have got this code:
$(".element")
.resizable()
.parent()
.draggable({
containment: '#glassbox',
scroll: false,
grid:[5,5]
})
.mousemove(function(){
var coord = $(this).position();
$("#x"+this.id).val(coord.left);
$("#y"+this.id).val(coord.top);
});
But .mousemove event doesn't work when there is resizable() and parent
(). Have you got any solutions of this problem?
Thanks
--