both draggable and resizable support chaining mode, so you can simplify the code in one line.
Say you have a div and the id of that div is the title you want to make it draggable and resizable.then jquery will work like this ....
$(document).ready(function() {
$("#header").draggable().resizable();
});
see the demo here ... DEMO
refer to this manual for more information .... Drag and Drop
source
share