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