how to add class to body jquery code example
Example 1: add class jquery
$("#my_id").attr("class", "my_new_class_name");
Example 2: jquery add class to body
$('body').addClass(newClass);
$("#my_id").attr("class", "my_new_class_name");
$('body').addClass(newClass);