> I know how to switch from an element "a" to another "b", but i can't > find a way to "re-switch" from "b" to "a".
You might want to explain the problem better, with a working script. That script will replace every clicked link with the letter b - I doubt that is the intended operation. If you are switching between two states, use .toggle().