Droppable - Photo Manager - How to delete to trash without a link
Hi,
I am using default example, the only difference is that all <li> objects have id attribute and the trash is the place of selected images :-)
Is there any way to add images to trash without clicking to remove icon? Let' me explain, if I post something to my php controller and if not all the fields were correctly filled out, all objects inserted to "trash" will be resetted. I have an array of all id numbers (<li> objects in trash) created during the form posting, is it possible to use that array to recreate all object in trash again?