سؤال

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