I'm using jQuery UI library to provide some UI functionalities to the DOM elements.
I have a div that can be resized when the client selects a custom dimension option, but I also have another mode that resizes the div with a fixed dimensions and the client cannot resize the div.
My code of the "custom dimensions" is similar to this:
$("#element").resizable ({
aspectRatio: 4/3,
minWidth: 320,
minHeight: 240,
maxWidth: 640,
maxHeight: 480
});
But now I need to stop the resizing event. How can I do this?
Thanks.