Check out this code snippet that includes draggable divs and a droppable table: http://jsbin.com/exetuk/1/edit
When dragging a div to the table, copies of the div with the class .draggable appear.
I am looking to create an array with divs from the table where each element has the following structure:
var arrayOfDivs = [{topPosition, leftPosition, lat, lng},{topPosition, leftPosition, lat, lng},{topPosition, leftPosition, lat, lng},{topPosition, leftPosition, lat, lng}, ... ]
Is it possible to achieve this?
Apologies for any language shortcomings. Thank you!