Transforming "Show" Link to "Hide" Link When Clicked

The easiest way is to make sure you can get to the link element. The
easiest way to do this is through and id, however, you can also have
an id on a parent element and then do a "down" from there to the
link. Once you have the link in hand you can replace the inner html.