Delete a specific jQuery resize handler

I have a divizable container size. Inside this div there is another mutable div. If I destroy the div container resizing handler, the internal div size handler will also be destroyed. Like this:

$(".container").resizable("destroy");

Is there a way to destroy the container's resize handler, but save the resize handler in a div inside the container?

+3
source share
1 answer

This seems like an error in the jQuery user interface source. Calling destroy in the parent container removes the ui-resizable-handle from the container target and all contained elements.

destroy jquery.ui.resizable.js 198 ( JQuery UI v1.8.20).

, :

.find('.ui-resizable-handle').remove();

:

.children('.ui-resizable-handle').remove();

ui-resizable-handle div.

, !

+2

All Articles