jQuery changing attribute and changing it back
<p>I want to make all links on the page unaccessible until the user clicks a button. </p>

<pre><code>$('a').attr('href','#');

$("#button-yes").click(function(){
    $('a').attr('href',function(){
        $(this).attr('href');
    });
});
</code></pre>
