jQuery klik Tambahkan kelas
$("button").click(function(){
$("p:first").addClass("intro");
});
Developers
$("button").click(function(){
$("p:first").addClass("intro");
});
var someElement= document.getElementById("myElement");
someElement.className += " newclass";//add "newclass" to element (space in front is important)