I basically have the same problem, resizable leaves a couple of divs inside the resizable div once it's finished, which causes alot of problems when trying to fetch the content of that div. How can I make sure these are removed once I'm done with the resizable?
I don't really know what to name this thread. The following code below works. I load a couple of elements from the database and echo them inside #containment-wrapper. Since I'd like to avoid mixing javascript and php I try to locate all these elements and make them draggable on document.ready.
As I already mentioned, the code works, but I was wondering if there's a jQuery approach to this instead of using "regular" javascript. I kinda feel like I iterate through all the elements twice with this code.
I tried adding all three of these to the same div, but without success. I'd like to make an element draggable and resizable after it's been selected, but I don't really know what approach to take on this. I'm pretty fresh at jQuery alltogether, but are there any tips you can give me?