how to add class in existing classs in jquery code example Example: addclass jquery $( "p" ).addClass( "selected highlight" );