onload addclass removeclass not working in jquery code example Example: addclass removeclass jquery $( "p" ).addClass( "myClass yourClass" );