How do you change the style/class on any element?Web Development Interview Questions document.getElementById(“myText”).style.fontSize = “20″; (OR) document.getElementById(“myText”).className = “anyclass”; Total Views: 36,886