does add class work with this code example
Example 1: jquery addclass
$("#elem").addClass("classname");
Example 2: jquery addclass
$( "p" ).addClass( "myClass yourClass" );
$("#elem").addClass("classname");
$( "p" ).addClass( "myClass yourClass" );