Im building a draggable map that when the map is dragged the element is given a \'left\' and \'top\' attribute with values for each as so...
If you want to specifically remove top and left attributes and leave others, you can do this:
$('.map').css('top', '').css('left', '');
Or, a shorter equivalent:
$('.map').css({ 'top': '', 'left': '' });