jquery input get value to add clasds name code example Example: addclass jquery $( "p" ).addClass( "myClass yourClass" );