Create and Delete Draggable boxes

Create and Delete Draggable boxes

Hello,

I have been using jQuery UI for a bit for my project at university. I am building a web toolkit using draggable and droppable widgets, however, what has stumped me is how to create and remove dynamic draggable widgets.

Could someone give me an insight of how to go about this? I am using #draggable as my id and ui-widget-content as my class for the dynamically created divs that I wish to insert and remove.

Thanks,

William