jquery class add method code example Example: addclass jquery $( "p" ).addClass( "selected highlight" );