jquery onclick class remove class code example Example: addclass removeclass jquery $( "p" ).addClass( "myClass yourClass" );