I have an element :
...
<li class="products active"><a href="" title="Title">test</a></li>
...
I want to access this "li" tag and swap the "active" class to "past" class so the final result would be :
...
<li class="products past"><a href="" title="Title">test</a></li>
...
What is the easiest / efficient way to achieve this using jQuery ?