I want to add a class to a body tag with jQuery.
For example if the URL is http://www.mywebsite.com/about_us.asp, I want add the first five letters, in this case \'a
Something like this might work:
$("body").attr("class", "about");
It uses jQuery's attr() to add the class 'about' to the body.
attr()