I want to add a class to body when a link is clicked. This is easily done when the link is in the parent ul, but my problem is that i want to do that for the the link present in the child ul of parent li. Whenever I try to do this It has no effect. What I am trying to do is as given below: Script:I want to add a class to body when a link is cl