Question
Unable to Retrieve Object's Position Using JavaScript
I want to be able to change an object's position using JavaScript. I thought I found the answer here:
When I tried it, I got a blank. I'm not sure what the reason is.
var obj = document.getElementById( 'Image_12c' );
var posX = parseInt( obj.style.left );
alert(posX);