I'm not sure to understand what you want. But if you try something like that :
var myEventResizeFunction
= function(event,ui) { console.log("Resizing!");
};
$(document).ready(function() { $("#element
").resize(function() {myEventResizeFunction();} ); $("#element
").resizable({ "resize" : function() {myEventResizeFunction();} }); });it doesn't work because resize() works only on window element.
What you can do, is to call directly
the function myEventResizeFunction in your code.
If you try to change the width of the element in your code, the resize event of the resizable element is not called because this event must be called only when the user with the mouse change the size.
Regards,
Dominique VINCENT
http://www.toitl.com/http://twitter.com/toitl