I was trying to turn the aspect ratios on/off dynamically in JQueryUI resizable, however even after setting the option to false, it keeps maintaining the aspect ratio. Below is
I realize that this is an old post but in case anyone still needs an answer you can do it like this:
$('#aspect_check').click( function() {
var ischecked = $('#aspect_check').prop('checked');
if (ischecked) {
$( "#resizable" ).resizable({aspectRatio : .75});
} else {
$( "#resizable" ).resizable();
}
});