Hello Khidotlua,
to change the background of the element with the id divml5 you don't need to write any code in your code behind file. Just use this modification of your javascript code:
$('.dragDiv1').Drags({
handler: '.handler',
onDrop:function(e){
$('.content').html('Div Position:(Left:' + e.pageX + ' ,Top:' + e.pageY + ')');
lat = e.pageX;
log = e.pageY;
$('divml5').style.backgroundColor = "#XXYYZZ";
getLat();
getLog);
}
});
OnDrop event handler will now color the divs ("divml5") background.
Cheers
Manfred