Answers for "how to add multiple style to getelementbyid"

CSS
1

setting multiple css using dom

document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Posted by: Guest on November-07-2020

Code answers related to "how to add multiple style to getelementbyid"

Browse Popular Code Answers by Language