Discussion in 'Web Services' started by raghavraaz, Aug 26, 2016.
Hi Please help.
How can the style/class of an element be changed?
To change all classes for an element: To alter all absolute classes with one or added new classes, set the className attribute: document.getElementById("MyElement").className = "MyClass"; (You can use a space-delimited account to administer assorted classes.).
Separate names with a comma.