I am trying to call a function to check the position of a div after dragging it, but I'm not sure how to do it. I wrote this in several other ways, but it either makes everything not work, or the function is not called:
$(".block").draggable(),function() { check(); };
Is there an easy way to make this work?
source
share