$("div.test").add("p.quote").addClass("blue").slideDown("slow");
$("div.test"). // select all div element that has class test add("p.quote") // select all p element that has class quote .addClass("blue")// add class blue for all selected elements .slideDown("slow"); //slideDown all selected elements
Login in to like
Login in to comment
or Read more about JavaScript Quizzes
Login in to like
Login in to comment