add class in div using jquery code example
Example 1: jquery addclass
$( "p" ).removeClass( "myClass noClass" ).addClass( "yourClass" );
Example 2: add class jquery
$("#my_id").attr("class", "my_new_class_name");
$( "p" ).removeClass( "myClass noClass" ).addClass( "yourClass" );
$("#my_id").attr("class", "my_new_class_name");