Jquery Show / Hide tags within a page

Look at the Source for this page and this blog post for details.

Approach 1

Jquery code to disable / hide all 'a' tags - not able to recover the tag

Example text:

The Fall are an English post-punk band, formed in Prestwich, Greater Manchester, in 1976.
With an ever-changing line up, the group essentially consists of its founder and only constant
member, Mark E. Smith, who has said "If it's me and your granny on bongos, then it's [the] Fall" (Wikipedia)

Refresh page to show links

Approach 2

Jquery code to disable / hide all 'a' tags - storing the tag info in a custom data attribute - therefore able to recover the tag

Example text:

The Fall are an English post-punk band, formed in Prestwich, Greater Manchester, in 1976.
With an ever-changing line up, the group essentially consists of its founder and only constant
member, Mark E. Smith, who has said "If it's me and your granny on bongos, then it's [the] Fall" (Wikipedia)