Hey. Here my problem:
i have to tranfer an style element (rotation, like: -moz-transform:rotate(20deg)) to an input field.
I allready done some functions for the positions like:
make the style element to a js variable
var posX = parseInt(document.getElementById(id).style.left);
put the variable into an input field (infos = form name; pos_x = input field name)
infos.pos_x.value = posX;
but how i can get the rotate value to an js variable -> input field??
cause js willn’t do this:
var rot = document.getElementById(id).style.-o-transform:rotate;
cause the - and the :
i tried var rot = document.getElementById(id).style.transformRotate;
but thats not correctly.
so some javascript gurus (or just smarter people as me) here to help me?
