Question

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?

Était-ce utile?

La solution 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.

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top