Here is my code:

$('#resize').click(function() {
    $('#test').resizable();
});

When I click the resize div, i want the test div to be resizable. But the test div in this case is not becoming resizable. Can anyone tell me what the problem is?

有帮助吗?

解决方案 2

PROBLEM SOLVED.

I had not included a custom css file. Thats why the icons for the resize handles were not showing up. Thank you everyone for your help.

其他提示

Make sure the jQuery UI script is attached as well as your standard jQuery. The resizeable() function is exclusive to jQuery UI & does not come standard.

Please post Javascript console errors if there are any.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top