Some style parameters can be changed easily, such as:
document.getElementById(element).style.height = height + "px";
But how can I change those parameters that begin with -, such as -o-transform-origin ?
document.getElementById(element).style.-o-transform-origin = "top left"; // error!
Please advice, how to do with pure old-fashion JavaScript (no jQuery, no Dojo, …).
The following link will shed some light:
http://www.javascriptkit.com/javatutors/setcss3properties.shtml
Also, I’ll include some code from the link in case of link rot!