With the draggable plugin, am able to record the position of the element after its been dragged like this:
stop: function(event, ui)
All ok ... I can save then resulting x and y values to my database.
However, when you display the page again, retrieving the x-y coordinates from the database, how do you position the element with these?
I tried applying inline css to the element using them - which works - but when you start to drag the element around again, the x-y coordinates that are recorded are those relative to it's new position, rather than the position relative to the top left hand corner of the parent (containing) container.
Any help much appreciated!