how to add style to a object javascript code example
Example: set multiple attributes css javascript
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
document.getElementById("myElement").style.cssText = "display: block; position: absolute";