disable-enable a hyperlink by clicking on radio-buttons
<p><strong>i have a hyperlink code like :</strong>
    Click Here
<strong>and i want to customize this link on the basis of my radio button click,which are like :</strong>
    YES
    NO
<strong>on radio-button value:'yes',i want to enable the hyperlink.
while on radio-button value:'no',i want to disable the hyperlink.
So,to make the hyperlink disable after clicking radio-button 'NO', i have written the following in disable-link() method :</strong>
    function disable-link()
    {
        //document.getElementById('disable-link').disabled=true;
        document.getElementById('disable-link').href = '#';
    }
Now,what i have to write in enable-link() method so that the hyperlink gets re-enabled after clicking radio-button 'YES'</p>

<pre><code>function enable-link()
{
    //document.getElementById('disable-link').disabled=false;
        // SOME LINE OF CODE TO RE-ENABLE THE LINK
}
</code></pre>

<p><em>document.getElementById('disable-link').disabled=true</em>*/*<em>false;</em> -: it makes the disable but user is able to click on the hyperlink though.So, i have used "<em>document.getElementById('disable-link').href = '#';</em>" -: it makes the link unclickable too
Please suggest.</p>
