chnage classname of div div
document.getElementById("MyElement").className = "MyClass";
Talhah Patelia
document.getElementById("MyElement").className = "MyClass";