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