Current menu item on blogger doesn't work


I’ve a menu on blogger and when I click on a specific item i want this one to be highlighted, so i’ve added a jquery code: --------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------- and css code: .menutop #topmenu ul li {background:#ac39dc } ---------------------------------------------------------------------------------------

The (active) class has been added to the Home anchor(<li><a class='active' href='my-url'>Home</a></li>) by default, but when i click on any menu item i notice that the class is added to that item, and removed from it, in the same time and also the Home item doesn’t lose its class; what is the problem here??