js .position code example
Example 1: change the position of div using javascript
document.getElementById('carRight').style.left="600px";
Example 2: jquery get left position
var position = p.position();
var left = position.left; '<-- left value for p