I am sure this is ridiculously easy. I want to call another function from jQuery, or include it inline. Example:
$( "#drag-box-facebook" ).draggable({ revert: "invalid" }, function() {alert("")});
However this doesn't work, and I can't work out why.
Update To clarify, the basic function of dragging works fine, it is just that the next function isn't called.
The most basic version is obviously
$( "#drag-box-facebook" ).draggable({ revert: "invalid" });