Rob
Rob

Reputation: 1109

JQuery - Remove Resize Functionality

I have made a DIV resizable in jQuery, like this:

$("#myDiv").resizable();

Simple,

Now is there a way make it 'un' resizable, and to remove this functionality all together?

Regards.

Upvotes: 19

Views: 13779

Answers (1)

BenM
BenM

Reputation: 53246

You want the destroy function:

$('#myDiv').resizable('destroy');

Upvotes: 41

Related Questions