I have a site with a number of links. I want to always ensure the user knows what page he or she is by changing the color of the active link to red and a few more css properties. So i came up with the following
$('ul.nav li a').click(function()
{
$(this).css('color','red');
});
So it works... kinds, only until the webpage redirects to the clicked link. Question is, how do i maintain the changes made using jquery after the page loads.
Thanks