André Laugks: CSS-Klasse mit Javascript ändern

Beitrag lesen

Hallo!

document.getElementById("xyz").style.class = "other_one";

document.getElementById("xyz").setAttribute("class", "other_one");

MfG, André Laugks

--
L-Andre @ gmx.de