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