Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

classe jquery

$("#demo").addClass("big red"); // add class
$("h1, p").removeClass("red");  // remove class
$("#demo").toggleClass("big");  // toggle between adding and removing
Source by htmlcheatsheet.com #
 
PREVIOUS NEXT
Tagged: #classe #jquery
ADD COMMENT
Topic
Name
9+2 =