I am creating a simple application using jquery, in this application I can drag an element(DIV) along the document. I can place the DIV at any position in the document, If I pla
If you DIV has a specific ID or class you can use the next() function (documented here).
next()
$('#dragdiv').next()
Then you can directly work with that jquery element or use attr() to obtain it's attributes (ID, etc)
attr()