what is the use of addClass on jQuery code example
Example 1: jquery addclass
$("#elem").addClass("classname");
Example 2: jquery addclass
$( "p" ).addClass( "myClass yourClass" );
$("#elem").addClass("classname");
$( "p" ).addClass( "myClass yourClass" );